body {
    font-family: "Bree Serif", serif !important;
    scroll-behavior: smooth;
    background-image: url("../images/bg.png");
}

.navbar {
    backdrop-filter: blur(10px);
    background: #303c57;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero {
    min-height: 70vh;
    background: linear-gradient(-45deg, #ff512f, #f92672, #ae81ff, #f92672);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    color: #fff;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
}

.hero span {
    color: #000;
}

.btn-custom {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
}

.btn-custom:hover {
    background: #1d4ed8;
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}

.card-custom {
    border: none;
    border-radius: 15px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-custom:hover {
    transform: translateY(-10px);
}

.contact {
    background: #0f172a;
    color: white;
}

.social a {
    color: white;
    font-size: 25px;
    margin-right: 15px;
}

footer {
    background: #303c57;
    color: white;
    text-align: center;
    padding: 15px;
}

.full {
    float: left;
    width: 100%;
    display: block;
    clear: both;
}

.just {
    text-align: justify;
}
.p10 {
    padding: 10px;
}

.p15 {
    padding: 15px;
}

.p20 {
    padding: 20px;
}

#portfolio {
    background: url("../images/bg3.png");
}

#portfolio .card {
    margin-bottom: 15px;
}

#portfolio img {
    height: 130px;
    border-radius: 15px;
}

/* --------- */

.typing-color {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    animation:
        typing 3s steps(17, end) forwards,
        blink 0.8s step-end 4,
        colorChange 5s linear infinite;

    font-weight: bold;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 17ch;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@keyframes colorChange {
    0% {
        color: #ff4d4d;
    }
    25% {
        color: #ff9800;
    }
    50% {
        color: #4caf50;
    }
    75% {
        color: yellow;
    }
    100% {
        color: green;
    }
}

.nav-link {
    color: #fff;
}

#about .d-flex {
    margin-bottom: 15px;
}

.contact-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.section-title {
    font-weight: 700;
    font-size: 32px;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.custom-input {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.custom-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

.btn-gradient {
    background: linear-gradient(90deg, #007bff, #00c6ff);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    transition: 0.3s;
}

.btn-gradient:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.social a {
    display: inline-block;
    margin-right: 12px;
    font-size: 20px;
    color: #333;
    transition: 0.3s;
}

.social a:hover {
    color: #007bff;
    transform: translateY(-3px);
}

/* -------------- */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.social-icons a:hover {
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* Individual Brand Colors */
.social-icons a:nth-child(1):hover {
    background: #db4437;
    color: #fff;
}

.social-icons a:nth-child(2):hover {
    background: #0a66c2;
    color: #fff;
}

.social-icons a:nth-child(3):hover {
    background: #1877f2;
    color: #fff;
}

.social-icons a:nth-child(4):hover {
    background: linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    );
    color: #fff;
}

/* ---------- */

.hero h1 span {
    color: #d4ff00;
}

@media (max-width: 768px) {
    .hero h1 span {
        display: block;
        width: 100%;
        margin-top: 5px;
        font-size: 40px;
    }
}

.pt100 {
    padding-top: 100px;
}

/* =========  */

.expp {
    text-align: center;
    font-weight: bold;
    color: #ff5500;
}

.skills-section {
    background: url("../images/bg3.png");
    padding-top: 70px;
    padding-bottom: 30px;
}

.skills-section .card {
    margin-bottom: 15px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skills-section {
    text-align: center;
}

.skill-icon {
    font-size: 50px;
    color: #294e87;
    margin-bottom: 10px;
}

.skills-section .card:hover {
    transform: translateY(-10px);
}

#services .card {
    margin-bottom: 15px;
    padding: 20px;
    transition: 0.3s;
}

#services .card:hover {
    transform: translateY(-10px);
}

.validationdanger ul {
    padding: 0;
}
.validationdanger ul li {
    background: red;
    margin-bottom: 5px;
    list-style: none;
    padding: 5px 10px;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}

input::placeholder {
    color: #868686 !important;
}

textarea::placeholder {
    color: #868686 !important;
}

.contact-icon a {
    width: 100%;
}

.navbar a:hover {
    color: rgb(217, 255, 0);
}

.navbar-expand-lg .navbar-nav .nav-link.active {
    color: rgb(217, 255, 0);
}

/* ============ */

#education strong {
    color: #000;
}

.education-section {
    background: url("../images/bg3.png");
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
}

.section-subtitle {
    color: #64748b;
    font-size: 1rem;
}

.timeline {
    position: relative;
    margin: auto;
}

.timeline::before {
    content: "";
    position: absolute;
    width: 4px;
    background: linear-gradient(180deg, #2563eb, #06b6d4);
    top: 0;
    bottom: 0;
    left: 30px;
    border-radius: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
    padding-left: 80px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 22px;
    top: 25px;
    background: #fff;
    border: 4px solid #2563eb;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.4s;
    border-left: 5px solid #2563eb;
}

.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.18);
}

.year {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-content h4 {
    margin-bottom: 5px;
    font-weight: 700;
    color: #0f172a;
}

.timeline-content h6 {
    color: #2563eb;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    color: #64748b;
    margin: 0;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-item::before {
        left: 7px;
    }
}

/* ============= */

.exp-main,
.exp-stat {
    background: #fff;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.exp-main:hover,
.exp-stat:hover {
    transform: translateY(-8px);
}

.exp-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: #eef4ff;
    color: #2563eb;
    margin-bottom: 20px;
}

.exp-main h3 {
    font-weight: 700;
    margin-bottom: 5px;
}

.company {
    color: #2563eb;
    margin-bottom: 15px;
}

.tech-stack {
    margin-top: 20px;
}

.tech-stack span {
    display: inline-block;
    padding: 8px 15px;
    margin: 4px;
    border-radius: 30px;
    background: #f5f7fa;
}

.exp-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.exp-stat h2 {
    font-size: 48px;
    font-weight: 800;
    color: #2563eb;
}

@media (max-width: 768px) {
    .experience-bento {
        grid-template-columns: 1fr;
    }
}

.experience-bento {
    margin-bottom: 10px;
}

/* =========== */

.projects-section {
    padding: 100px 0;
    background: #0f172a;
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: #38bdf8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 42px;
    margin: 10px 0;
    font-weight: 700;
}

.section-title p {
    color: #94a3b8;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: #1e293b;
    padding: 30px;
    border-radius: 20px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #38bdf8;
    box-shadow: 0 15px 35px rgba(56, 189, 248, 0.2);
}

.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
}

.project-year {
    color: #38bdf8;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-card h3 {
    font-size: 21px;
    margin-bottom: 15px;
}

.project-card p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 20px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-stack span {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.btn-resume {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 11px 26px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
}
.btn-resume:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    color: #fff;
}
