/* Google Fonts: Cairo */
:root {
    --primary-color: #174A5B; /* Navy Blue from Logo */
    --secondary-color: #4A9D9C; /* Tiffany Green from Logo */
    --accent-color: #5BC0BE; /* Light Tiffany */
    --teal: #2CA6A4; /* Medical Teal */
    --light-bg: #F4F9F9; /* Very Light Mint */
    --dark-bg: #0D2B36; /* Deep Navy */
    --text-color: #1A3A47; /* Dark Navy Text */
    --text-light: #5A7D8A; /* Soft Navy-Slate */
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: transparent;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global Typography & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

.section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 10px;
}

.line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--teal));
    border-radius: 2px;
    margin: 10px 0;
}
.line-center {
    margin: 10px auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(74, 157, 156, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(23, 74, 91, 0.5);
    color: var(--white);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}
.hero .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
    margin-top: 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 10px 0;
}

.navbar.scrolled .logo, .navbar.scrolled .nav-links a {
    color: var(--primary-color);
}

.navbar.scrolled .btn-nav {
    color: var(--white);
}

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

/* Logo Custom */
.logo-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}
.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    will-change: transform;
    transition: filter 0.3s ease;
    cursor: pointer;
}
.ring-outer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: spin 15s linear infinite;
}
.ring-outer circle {
    stroke: var(--white);
    opacity: 0.8;
}
.ring-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.ring-inner circle {
    stroke: var(--white);
    opacity: 0.4;
}
.tooth-center {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 10;
    transition: transform 0.3s;
}
.tooth-bg {
    fill: var(--white);
    transition: fill 0.3s;
}
.tooth-line {
    stroke: var(--primary-color);
    opacity: 0.7;
    transition: stroke 0.3s;
}

.logo-custom:hover .tooth-center {
    transform: scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-en {
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--white);
    font-family: sans-serif;
    transition: color 0.3s;
}
.logo-ar {
    font-size: 0.75rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}
.highlight-green {
    color: var(--secondary-color);
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Scrolled Navbar Logo overrides */
.navbar.scrolled .ring-outer circle {
    stroke: var(--secondary-color);
}
.navbar.scrolled .ring-inner circle {
    stroke: var(--primary-color);
    opacity: 0.2;
}
.navbar.scrolled .tooth-bg {
    fill: var(--primary-color);
}
.navbar.scrolled .tooth-line {
    stroke: var(--white);
}
.navbar.scrolled .logo-en {
    color: var(--primary-color);
}
.navbar.scrolled .logo-ar {
    color: var(--text-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0%;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover:not(.btn)::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Dynamic Background Container */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #F4F9F9 0%, #E8F4F4 50%, #EFF7F7 100%);
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(74, 157, 156, 0.3), rgba(23, 74, 91, 0.2));
    top: -10%;
    left: -10%;
    animation-direction: alternate;
}

.shape-2 {
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, rgba(23, 74, 91, 0.2), rgba(91, 192, 190, 0.2));
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
    animation-direction: reverse;
}

.shape-3 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(91, 192, 190, 0.2), rgba(74, 157, 156, 0.15));
    top: 30%;
    left: 40%;
    animation-duration: 25s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(30px, -50px) rotate(120deg) scale(1.1); }
    66% { transform: translate(-20px, 20px) rotate(240deg) scale(0.9); }
    100% { transform: translate(0, 0) rotate(360deg) scale(1); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    color: var(--white);
    background: url('https://i.postimg.cc/N0h5gfJs/D9q-KEb-RXk-AEOTlv.jpg') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0; bottom: 0;
    background: linear-gradient(160deg, rgba(13, 43, 54, 0.92) 0%, rgba(23, 74, 91, 0.82) 40%, rgba(74, 157, 156, 0.65) 100%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--light-bg), transparent);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--white);
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 25px;
    color: var(--white);
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Logo Image */
.hero-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: 0.2s;
}

.hero-logo-img {
    height: 200px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 0 18px rgba(255,255,255,0.5));
    animation: hero-logo-glow 3s ease-in-out infinite alternate;
    transition: transform 0.4s ease;
}

.hero-logo-img:hover {
    transform: scale(1.08) rotate(3deg);
}

@keyframes hero-logo-glow {
    0%   { filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255,255,255,0.3)); }
    100% { filter: brightness(0) invert(1) drop-shadow(0 0 22px rgba(255,255,255,0.9)); }
}

.highlight {
    background: linear-gradient(45deg, #5BC0BE, #A0E7E5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(91, 192, 190, 0.4));
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: var(--white);
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Countdown Timer */
.countdown {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: var(--white);
}

.countdown-item span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-item p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Glass Card - Hero Visual */
.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 20px;
    padding: 40px;
    color: var(--white);
}

.visual-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.visual-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.visual-date h2 {
    font-size: 5rem;
    line-height: 1;
    color: var(--accent-color);
    margin-bottom: -10px;
}

.visual-date p {
    font-size: 1.5rem;
    font-weight: 600;
}

.visual-location {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.visual-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    align-self: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* About Section */
#about { background-color: transparent; }

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-section-subtitle {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.about-section-subtitle .line {
    width: 40px;
    height: 4px;
    margin: 0;
}
.about-main-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 30px;
}
.about-paragraphs {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 600;
    margin-bottom: 40px;
}
.about-paragraphs p {
    margin-bottom: 20px;
}
.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 15px;
    font-weight: 700;
    color: var(--primary-color);
    border: 1px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}
.about-feature i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.about-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.image-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.mt-col {
    margin-top: 50px;
}
.about-img {
    width: 100%;
    border-radius: 25px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}
.about-img:hover {
    transform: scale(1.05);
}
.img-small {
    height: 200px;
}
.img-large {
    height: 260px;
}
.vision-box {
    background: linear-gradient(135deg, var(--primary-color), #1D6070);
    border-radius: 25px;
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.vision-icon {
    font-size: 3rem;
    color: var(--secondary-color);
}

/* Achievements Section */
.glass-section {
    background: url('media__1775042884420.jpg') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

.glass-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(13, 43, 54, 0.93), rgba(23, 74, 91, 0.9));
}

.glass-section .section-header h2, .glass-section .section-header p {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number::after {
    content: '+';
    font-size: 2.5rem;
    color: var(--secondary-color);
    vertical-align: top;
    margin-right: 5px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
}

.stat-icon {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 8rem;
    opacity: 0.05;
    transform: rotate(-15deg);
}

/* Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}
.partner-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}
.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}
.partner-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(23, 74, 91, 0.1);
}
.partner-logo-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.partner-card:hover .partner-logo-wrapper {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}
.partner-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 800;
}
.partner-card p {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
}

/* Exhibition Section */
.exhibition-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.exhibition-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.highlight-text {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.exhibition-features {
    margin-top: 30px;
}

.exhibition-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.exhibition-features i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.exhibition-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-top: 4px solid var(--secondary-color);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(23, 74, 91, 0.1);
}

.gallery-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.gallery-card p {
    font-weight: 800;
    color: var(--primary-color);
}

/* Aden Album Section */
.album-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.album-item {
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.album-item:hover img {
    transform: scale(1.1);
}

/* Registration Section */
.bg-light {
    background-color: transparent;
}

.register-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--white) !important;
    backdrop-filter: none;
    padding: 0;
    overflow: hidden;
    color: var(--text-color);
}

.register-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, #112d38 100%);
    color: var(--white);
    padding: 50px 40px;
}

.register-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.register-info p {
    opacity: 0.9;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item p {
    margin-bottom: 0;
    opacity: 0.8;
}

.register-form {
    padding: 50px 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: #fafafa;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(74, 157, 156, 0.15);
    background: var(--white);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding-top: 80px;
    position: relative;
    z-index: 2;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand h3 i {
    color: var(--secondary-color);
}

.footer-brand p {
    opacity: 0.8;
    max-width: 400px;
}

.footer-links h4, .footer-social h4 {
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 30px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-right: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    text-align: center;
    padding: 20px 0;
    opacity: 0.8;
}

/* Custom Load Animations */
.hero-content .badge { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards; animation-delay: 0.1s; display: inline-flex; align-items: center; justify-content: center; width: max-content; }
.hero-content .hero-title { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards; animation-delay: 0.3s; }
.hero-content .hero-subtitle { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards; animation-delay: 0.5s; }
.hero-content .countdown { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards; animation-delay: 0.7s; }
.hero-content .hero-actions { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards; animation-delay: 0.9s; }
.hero-visual { animation: fadeInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) backwards; animation-delay: 0.5s; }

.visual-card.animate-float {
    animation: float-up-down 6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeInLeft {
    0% { opacity: 0; transform: translateX(-50px) scale(0.95); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes float-up-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Animations & Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.active.reveal, .active.reveal-up, .active.reveal-right, .active.reveal-left {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .exhibition-layout, .partners-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .album-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-actions {
        justify-content: center;
    }
    .countdown {
        justify-content: center;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .register-container {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .album-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none; /* Add mobile menu later if needed */
    }
    .hamburger {
        display: block;
    }
    .about-layout {
        grid-template-columns: 1fr;
    }
    .about-main-title {
        font-size: 2rem;
    }
    .about-features-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .countdown {
        gap: 10px;
        flex-wrap: wrap;
    }
    .countdown-item {
        min-width: 70px;
        padding: 10px;
        flex: 1 1 calc(50% - 10px);
    }
    .countdown-item span {
        font-size: 1.6rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 20px;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 15px;
    }
    .visual-card.animate-float {
        margin-top: 30px;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Language Toggle Button & LTR overrides */
.lang-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--white);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(23, 74, 91, 0.4);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid var(--secondary-color);
}
.lang-toggle-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(40px) scale(0.8);
}
.lang-toggle-btn:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(74, 157, 156, 0.6);
}
.lang-toggle-btn i {
    font-size: 1.4rem;
    margin-bottom: 2px;
}
.lang-toggle-btn span {
    font-size: 0.9rem;
    font-weight: 800;
}

/* LTR (English) Adjustments */
body.lang-en {
    direction: ltr;
    text-align: left;
    font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}
body.lang-en .lang-toggle-btn {
    right: auto;
    left: 30px;
}
body.lang-en div[style*="text-align: right"],
body.lang-en div[style*="text-align: right;"] {
    text-align: left !important;
}
body.lang-en .sparkle-icon {
    margin-left: 0 !important;
    margin-right: 8px !important;
}
body.lang-en .stat-number::after {
    margin-right: 0;
    margin-left: 5px;
}
@media (min-width: 769px) {
    body.lang-en .hero-actions {
        flex-direction: row;
    }
}
body.lang-en .fa-arrow-left {
    transform: rotate(180deg);
}
body.lang-en .about-feature i {
    margin-left: 0;
    margin-right: 15px;
}
body.lang-en .about-feature {
    gap: 0;
}
@media (max-width: 768px) {
    body.lang-en .hero-title,
    body.lang-en .about-main-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        font-size: 1.8rem;
    }
    body.lang-en .logo-en {
        font-size: 1.1rem;
    }
    .hero-content .badge {
        width: auto !important;
        max-width: 100%;
        white-space: normal;
        line-height: 1.5;
        text-align: center;
        padding: 10px 15px;
    }
}

/* Elite Avatar Style for Success Partners */
.elite-avatar-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    z-index: 1;
    perspective: 1000px;
}
.elite-avatar-wrap::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    /* Removed animation and background-size, simplified background to fix mobile scroll lag */
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color), var(--accent-color));
    z-index: -2;
    transition: all 0.4s ease;
}
.elite-avatar-wrap::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: var(--white);
    z-index: -1;
}
.elite-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.2);
    /* Filter to make placeholder images look stylized, will be colorful on hover */
    filter: grayscale(80%) sepia(20%) hue-rotate(150deg);
    /* Restricted transitions to avoid layout thrashing on scroll */
    transition: filter 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* Desktop Hover triggers */
.partner-card:hover .elite-avatar-wrap::before, .elite-card-hover:hover .elite-avatar-wrap::before {
    inset: -8px;
    filter: blur(8px);
}
.partner-card:hover .elite-avatar, .elite-card-hover:hover .elite-avatar {
    filter: grayscale(0%) sepia(0%);
    transform: scale(1.05) rotate(2deg);
}

/* Mobile Scroll intersect triggers */
@media (max-width: 768px) {
    .partners-grid.active .elite-avatar-wrap::before, .elite-card-hover.active .elite-avatar-wrap::before {
        inset: -8px;
        filter: blur(8px);
    }
    .partners-grid.active .elite-avatar, .elite-card-hover.active .elite-avatar {
        filter: grayscale(0%) sepia(0%);
        transform: scale(1.05) rotate(2deg);
    }
}

.elite-gov-wrap {
    width: 180px;
    height: 180px;
}
