* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f5f7fa;
    color: #333;
}

/* ================= NAVBAR ================= */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: linear-gradient(90deg, #1e1e2f, #222831);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.6s ease-in-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* SVG Logo Glow */
.svg-logo {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px #00adb5); }
    to { filter: drop-shadow(0 0 15px #ffd369); }
}

/* Profile image small */
.profile-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #00adb5;
}

/* Brand name */
.brand-name {
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(45deg, #00adb5, #ffd369);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #00adb5;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #1e1e2f;
        flex-direction: column;
        width: 200px;
        padding: 20px;
        display: none;
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease-in-out;
    }

    .hamburger {
        display: flex;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ================= HERO ================= */

.hero {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #00adb5, #393e46);
    color: white;
    flex-wrap: wrap;
}

.hero-text h1 span {
    color: #ffd369;
}

.hero-image img {
    width: 250px;
    border-radius: 50%;
    border: 5px solid white;
}

/* Button */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #ffd369;
    color: black;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
}

/* ================= SECTIONS ================= */

.section {
    padding: 60px 40px;
    text-align: center;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 150px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.info-box {
    margin-top: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

.timeline div {
    margin: 15px 0;
}

/* ================= FOOTER ================= */

footer {
    text-align: center;
    padding: 20px;
    background: #1e1e2f;
    color: white;
}

/* Contact Icons Styling */
.contact-box p {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    margin: 12px 0;
}

.contact-box i {
    font-size: 20px;
    transition: 0.3s;
}

.contact-box a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

/* Icon Colors */
.fa-linkedin {
    color: #0A66C2;
}

.fa-github {
    color: #ffffff;
}

.fa-envelope {
    color: #ffd369;
}

.fa-phone {
    color: #00ffcc;
}

/* Hover Effects */
.contact-box p:hover i {
    transform: scale(1.2);
}

.contact-box a:hover {
    color: #ffd369;
}

/* ================= GLASS CONTACT CARD ================= */

.contact-glass {
    max-width: 700px;
    margin: auto;
    padding: 40px;
    border-radius: 25px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

/* Floating Icons */
.floating-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    text-decoration: none;
    transition: 0.4s;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Gradient Buttons */
.linkedin {
    background: linear-gradient(45deg, #0A66C2, #00adb5);
    box-shadow: 0 0 20px #0A66C2;
}

.github {
    background: linear-gradient(45deg, #333, #6e5494);
    box-shadow: 0 0 20px #6e5494;
}

.social-btn:hover {
    transform: scale(1.2);
}

/* Contact Info */
.contact-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    font-size: 18px;
}

/* Copy Button */
.copy-btn {
    padding: 5px 12px;
    border: none;
    border-radius: 15px;
    background: #ffd369;
    cursor: pointer;
    transition: 0.3s;
}

.copy-btn:hover {
    background: #00adb5;
    color: white;
}

/* Contact Form */
.contact-form {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 10px;
    border: none;
    outline: none;
}

.contact-form textarea {
    min-height: 100px;
}

.gradient-btn {
    padding: 12px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(45deg, #00adb5, #ffd369);
    font-weight: bold;
    cursor: pointer;
    transition: 0.4s;
}

.gradient-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ================= Education Cards ================= */

.education-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.edu-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px;
    width: 300px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.edu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.edu-card h3 {
    margin-bottom: 10px;
    color: #ffd369;
}

.certificates {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.certificates img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #00adb5;
}

.certificates img:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px #ffd369;
}

/* ================= Timeline Cards ================= */

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 25px;
}

/* Common Card Styles */
.timeline-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

/* Current Job Highlight */
.timeline-card.current {
    border-left: 6px solid #ffd369;
    background: linear-gradient(135deg, rgba(255, 221, 105,0.2), rgba(255,255,255,0.1));
}

/* Past Jobs */
.timeline-card.past {
    border-left: 6px solid #00adb5;
    background: rgba(255,255,255,0.1);
}

/* Hover Effect */
.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

/* Titles & Text */
.timeline-card h3 {
    margin-bottom: 8px;
    color: #ffd369;
}

.timeline-card.past h3 {
    color: #00adb5;
}

.timeline-card p {
    color: white;
    font-size: 16px;
}

/* Timeline Accent Circle (optional) */
.timeline-card::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
}

.timeline-card.current p {
    color: #ffd369; /* Bright yellow for current job */
}

.timeline-card.past p {
    color: #00adb5; /* Cyan for past jobs */
}

/* ================= Skills Section ================= */

.skill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.skill-card {
    padding: 15px 25px;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, background 0.5s;
    cursor: default;
    min-width: 120px;
}

/* Hover Animation */
.skill-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Gradient Colors Per Skill */
.skill-card.devops { background: linear-gradient(45deg, #f6d365, #fda085); }
.skill-card.python { background: linear-gradient(45deg, #306998, #ffd43b); }
.skill-card.groovy { background: linear-gradient(45deg, #0f9d58, #34a853); }
.skill-card.shell { background: linear-gradient(45deg, #ff5722, #ff9800); }
.skill-card.jenkins { background: linear-gradient(45deg, #d33833, #f04e4e); }
.skill-card.sql { background: linear-gradient(45deg, #017396, #00acc1); }
.skill-card.git { background: linear-gradient(45deg, #f34f29, #f1502f); }
.skill-card.iot { background: linear-gradient(45deg, #009688, #4db6ac); }
.skill-card.docker { background: linear-gradient(45deg, #0db7ed, #2496ed); }
.skill-card.grafana { background: linear-gradient(45deg, #f46800, #f4771f); }
.skill-card.prometheus { background: linear-gradient(45deg, #e6522c, #f47938); }
.skill-card.ansible { background: linear-gradient(45deg, #ee0000, #ff4c4c); }
.skill-card.kubernetes { background: linear-gradient(45deg, #326ce5, #6ca0f4); }

/* Responsive */
@media(max-width:768px){
    .skill-card { min-width: 100px; font-size: 14px; padding: 12px 18px; }
}

.skills-horizontal {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
}

/* Hide scroll bar for WebKit browsers */
.skills-horizontal::-webkit-scrollbar {
    display: none;
}

/* Skill Card */
.skill-card {
    flex: 0 0 auto; /* Prevent shrinking */
    background: linear-gradient(135deg, #00adb5, #ffd369);
    color: #fff;
    padding: 15px 25px;
    border-radius: 15px;
    font-weight: bold;
    text-align: center;
    min-width: 150px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.skill-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,173,181,0.6);
}

/* Section heading */
#skills h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    background: linear-gradient(45deg, #00adb5, #ffd369);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mobile adjustments */
@media(max-width:768px){
    .skill-card { min-width: 120px; padding: 10px 20px; }
}

.skills-horizontal {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.skills-horizontal::-webkit-scrollbar {
    display: none;
}

.skill-card {
    flex: 0 0 auto;
    background: linear-gradient(135deg, #00adb5, #ffd369);
    color: #fff;
    padding: 10px 20px;
    border-radius: 15px;
    font-weight: bold;
    text-align: center;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.skill-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,173,181,0.6);
}

.skill-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.3));
}

#skills h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    background: linear-gradient(45deg, #00adb5, #ffd369);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media(max-width:768px){
    .skill-card { min-width: 120px; padding: 8px 15px; }
    .skill-logo { width: 30px; height: 30px; }
}

/* Body & Sections Background */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(120deg, #1e1e2f, #222831);
    color: #fff;
    scroll-behavior: smooth;
}

/* Hero Section */
.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #00adb5, #393e46);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 1%, transparent 1%);
    background-size: 50px 50px;
    top: -50%;
    left: -50%;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0,0); }
    100% { transform: translate(50px,50px); }
}

.hero-text h1 {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(45deg, #ffd369, #00adb5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 20px;
    margin: 15px 0;
    color: #e0e0e0;
}

.hero-image img {
    width: 250px;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

/* Section Titles */
.section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #00adb5, #ffd369);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* General Section Styles */
.section {
    padding: 60px 20px;
    position: relative;
}

.section.animate {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Education Cards */
.education-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.edu-card {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 15px;
    min-width: 220px;
    max-width: 300px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.edu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,173,181,0.6);
}

/* Certificates */
.certificates {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.certificates img {
    width: 120px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.certificates img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,173,181,0.7);
}

/* Timeline Work Experience */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-card {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-left: 5px solid #00adb5;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-card.current {
    border-left-color: #ffd369;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255,213,105,0.7);
}

.timeline-card h3 {
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: bold;
}

.timeline-card p {
    color: #e0e0e0;
    font-weight: bold;
}

/* Projects Cards */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.card {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 15px;
    min-width: 220px;
    max-width: 280px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255,213,105,0.7);
}

/* Contact Glass Card */
.contact-glass {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-width: 700px;
    margin: 0 auto;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 16px;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.contact-form button.gradient-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(45deg, #00adb5, #ffd369);
    color: #222831;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form button.gradient-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,213,105,0.7);
}

/* About Section */
.about-section {
    position: relative;
    background: linear-gradient(135deg, #1e1e2f, #222831);
    color: white;
    padding: 80px 40px;
    overflow: hidden;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.profile-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #00adb5;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.profile-card:hover .profile-img {
    transform: scale(1.05) rotate(-5deg);
}

.about-text {
    max-width: 700px;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffd369;
}

.about-text p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #ddd;
}

/* Skill Badges */
.about-skills {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-badge {
    background: linear-gradient(135deg, #00adb5, #ffd369);
    color: black;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    transition: transform 0.3s;
}

.skill-badge:hover {
    transform: scale(1.1);
}

/* Wave Background */
.wave-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.wave-bg svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* Responsive */
@media(max-width: 900px) {
    .about-container {
        flex-direction: column;
    }
}

.timeline-card {
    background: #1f1f1f;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: 0.3s ease;
    position: relative;
}

.timeline-card:hover {
    transform: translateY(-3px);
    background: #2a2a2a;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.timeline-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 0;
}

.timeline-card.active .timeline-details {
    max-height: 300px;
    margin-top: 10px;
}

.timeline-card.active .arrow {
    transform: rotate(180deg);
}
