:root {
    --primary-gradient: linear-gradient(135deg, #1443a5 0%, #1f36a8 50%, #2b2997 100%);
    --secondary-gradient: linear-gradient(135deg, #0f2a80 0%, #273eaa 50%, #1a1970 100%);
    --accent-color: #feca57;
    --dark-bg: linear-gradient(135deg, #2c2c54 0%, #40407a 50%, #2c2c54 100%);
    --card-bg: rgba(255, 255, 255, 0.08);
    --text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

* {
    font-family: 'Cairo', sans-serif;
}
body {
    background: var(--dark-bg);
    min-height: 100vh;
    overflow-x: hidden;
    color: rgba(255, 255, 255, 0.95);
}

.hero-section {
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 20% 50%, rgba(255, 202, 87, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(123, 104, 238, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 40% 80%, rgba(255, 107, 107, 0.2) 0%, transparent 50%);
    animation: morphing 8s ease-in-out infinite;
}

@keyframes morphing {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.6;
    }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 80%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 80%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffffff, #2196F3, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: slideInRight 1s ease-out;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 2rem;
    animation: slideInRight 1s ease-out 0.2s both;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.8;
    animation: slideInRight 1s ease-out 0.4s both;
}

@keyframes slideInRight {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.profile-image {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 6px solid rgba(33, 150, 243, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 0 15px rgba(108, 52, 131, 0.1);
    transition: all 0.4s ease;
    animation: slideInLeft 1s ease-out 0.6s both, pulse 2s infinite;
    object-fit: cover;
}

.profile-image:hover {
    transform: scale(1.08) rotate(-3deg);
    box-shadow:
            0 35px 70px rgba(0,0,0,0.5),
            0 0 0 20px rgba(254, 202, 87, 0.2);
}

@keyframes slideInLeft {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow:
                0 25px 50px rgba(0,0,0,0.4),
                0 0 0 15px rgba(255,255,255,0.1);
    }
    50% {
        box-shadow:
                0 25px 50px rgba(0,0,0,0.4),
                0 0 0 20px rgba(254, 202, 87, 0.2);
    }
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #90CAF9, #42A5F5, #90CAF9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experience-card {
    background: var(--card-bg);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(254, 202, 87, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.experience-card:hover::before {
    transform: translateX(100%);
}

.experience-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(254, 202, 87, 0.2);
    border-color: var(--accent-color);
}

.experience-card h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.experience-card h5 {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.experience-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 0;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
    z-index: -1;
}

.social-links a:hover::before {
    transform: scale(1);
}

.social-links a:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.twitter {
    background: linear-gradient(135deg, #000000, #242424);
}

.twitter::before {
    background: #141414;
}

.youtube { background: linear-gradient(135deg, #FF0000, #cc0000); }
.youtube::before { background: #FF0000; }

.tiktok { background: linear-gradient(135deg, #000000, #333333); }
.tiktok::before { background: #000000; }

.snapchat { background: linear-gradient(135deg, #FFFC00, #ccca00); }
.snapchat i {color: black}
.snapchat::before { background: #FFFC00; }

.telegram { background: linear-gradient(135deg, #0088cc, #006699); }
.telegram::before { background: #0088cc; }

.btn-custom {
    background: var(--secondary-gradient);
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: right 0.6s ease;
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(123, 104, 238, 0.4);
    color: white;
}

.btn-custom:hover::before {
    right: 100%;
}

.navbar {
    background: rgba(26, 26, 46, 0.47) !important;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(21, 101, 192, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    right: 50%;
    background: var(--accent-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    right: 0;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
    font-size: 1.2rem;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    color: white;
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.4);
}

footer {
    background: rgba(26, 26, 46, 0.8);
    border-top: 1px solid rgba(21, 101, 192, 0.2);
}

@media (max-width: 768px) {
    #home {
        padding-top: 90px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .profile-image {
        width: 200px;
        height: 200px;
        margin-bottom: 2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .social-links {
        gap: 15px;
        justify-content: center;
    }
    .social-links a {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

