/* -------------------------------
   GLOBAL RESET
---------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(-45deg,#0f2027,#203a43,#2c5364,#1a2a6c);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
}

/* Background gradient animation */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* -------------------------------
   NAVBAR
---------------------------------*/
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background: rgba(0,0,0,0.7);
    border-bottom: 1px solid #00ffff;
    flex-wrap: wrap;
}

.logo i {
    font-size: 28px;
    color: #ffcc70;
    text-shadow: 0 0 5px #ffcc70; /* subtle glow */
}

.elements {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
    flex-wrap: nowrap;
}

.elements li {
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    transition: 0.3s;
    color: white;
}

.elements li:hover {
    color: #00ffff;
    transform: scale(1.05);
    text-shadow: 0 0 5px #00ffff; /* subtle hover glow */
}

.logo1 i {
    font-size: 28px;
    color: #00ffff;
}

/* -------------------------------
   HERO SECTION
---------------------------------*/
.main {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 150px;
    padding: 100px 100px 100px 150px;
    min-height: calc(100vh - 70px);
    flex-wrap: wrap;
}

/* Text area */
.text {
    max-width: 550px;
    margin-right: auto;
    padding: 25px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    animation: slideLeft 1.5s ease;
    text-align: left;
}

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

.text h3 {
    font-size: 28px;
    font-weight: 700;
    color: black;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2); /* subtle */
}

.text h1 {
    font-size: 52px;
    color: #111;
    font-weight: 700;
    margin: 10px 0;
}

.text h1 span {
    color: #ff4b2b;
    text-shadow: 0 0 10px #ff4b2b; /* subtle glow */
}

.text h2 {
    font-size: 28px;
    color: #00bfff;
    margin-bottom: 15px;
    font-weight: 500;
    text-shadow: 0 0 5px #00bfff; /* subtle glow */
}

.text p {
    color: black;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    text-shadow: 0 0 2px rgba(255,255,255,0.1);
}

/* Hero buttons */
.hero-buttons button {
    padding: 12px 25px;
    margin-right: 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-buttons button:first-child {
    background: #ff4b2b;
    color: white;
}

.hero-buttons button:first-child:hover {
    background: #ff8364;
    transform: scale(1.05) translateY(-2px);
}

.hero-buttons button:last-child {
    background: #00bfff;
    color: white;
}

.hero-buttons button:last-child:hover {
    background: #33ccff;
    transform: scale(1.05) translateY(-2px);
}

/* Social icons */
.social a {
    font-size: 26px;
    margin-right: 15px;
    display: inline-block;
    transition: 0.3s;
}

.social a:hover {
    transform: rotateY(360deg) scale(1.2);
    color: #ff4b2b;
    text-shadow: 0 0 5px #ff4b2b;
}

.fa-facebook { color: #1877f2; }
.fa-instagram { color: #e1306c; }
.fa-linkedin { color: #0a66c2; }

/* Profile image */
.images {
    animation: slideRight 1.5s ease;
}

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

.images img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #00ffff;
    box-shadow: 0 0 20px #00ffff, 0 0 40px #ff4b2b, 0 0 60px #00bfff;
    animation: floatRotate 6s linear infinite;
}

/* Floating + rotating image */
@keyframes floatRotate {
    0% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(90deg); }
    50% { transform: translateY(0px) rotate(180deg); }
    75% { transform: translateY(-10px) rotate(270deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

/* -------------------------------
   RESPONSIVE PORTRAIT / MOBILE
---------------------------------*/
@media(max-width:1024px){
    .main {
        flex-direction: column-reverse;
        text-align: center;
        padding: 60px 50px;
        gap: 40px;
    }

    .text {
        margin-right: 0;
        text-align: center;
    }

    .images img {
        width: 250px;
        height: 250px;
        margin-bottom: 20px;
    }
}

@media(max-width:768px){
    .container {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .elements {
        gap: 15px;
        margin-top: 10px;
        justify-content: center;
    }

    .hero-buttons button {
        width: 45%;
        margin: 5px auto;
    }
}

@media(max-width:480px){
    .text h1 { font-size: 28px; }
    .text h2 { font-size: 18px; }
    .text p { font-size: 14px; }
    .images img { width: 180px; height: 180px; }
    .hero-buttons button { width: 90%; margin: 5px auto; }
}



