@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

.ityped-cursor { 
    font-weight: 300; 
    color: white;
    font-family: 'Montserrat', sans-serif;
}


*,
*::before,
*::after {
    margin: 0;
    padding: 0; 
    box-sizing: inherit;
}

html { 
    box-sizing: border-box;
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: black;
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF;
    height: 100vh;
}



/* NAVBAR */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed; /* Make it stick to the top */
    top: 0;
    left: 0;
    right: 0;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 0 0 10px 10px; 
    font-family: 'Montserrat', sans-serif;
    margin-top: 0; 
    padding-top: 20px;
    z-index: 1000; 
    background-color: rgba(64, 95, 190, 0.95); 
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 5px;
}

.navbar-logo {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    margin-right: 1rem;
}

.navbar-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
}

.navbar-links {
    list-style: none;
    display: flex;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

.navbar-links a {
    text-decoration: none;
    color: white;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.navbar-links a:hover {
    color: #3FA2F6;
}

/* Hamburger Menu Styling */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001; /* Ensure it's above navbar links */
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Responsive Styling */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 1rem;
        top: 1.5rem;
    }

    .navbar-links {
        position: fixed;
        top: 80px; /* Adjust based on navbar height */
        left: 0;
        right: 0;
        background-color: rgba(70, 95, 170, 0.95); /* Matching blue background */
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 1rem 0;
        display: none;
        text-align: center;
    }

    .navbar.active .navbar-links {
        display: flex;
    }

    .navbar-links li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }

    .navbar-links a {
        display: block;
        width: 100%;
    }
    
    /* Animate hamburger to X when menu is open */
    .navbar.active .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .navbar.active .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    .navbar.active .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Add some spacing at the top of the body to prevent content from hiding under navbar */
body {
    padding-top: 100px; /* Adjust based on navbar height */
}

/* Optional: Shrink navbar on scroll */
.navbar.scrolled {
    padding: 0.5rem 2rem;
    background-color: rgba(70, 95, 170, 0.75); /* Darker blue when scrolled */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}




/* HEADER */

.landing-page {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 90px;
    margin-bottom: 100px;
    font-family: 'Montserrat', sans-serif;
}

.content {
    max-width: 60%;
    margin-top: 0px;
}

.content h1 {
    font-size: 4rem;
    color: #f7a621;
    margin-bottom: 10px;
}

.content h2 {
    font-size: 3rem;
    margin: 1rem 0;
    color: #3FA2F6;
}

.content p {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    color: white;
    background-color: #2F7AB9;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #f7a621;
}

.image-container {
    max-width: 35%;
    margin-top: -50px;
}

.image-container img {
    width: 230px;
    border-radius: 0px;
}

.action-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon img {
    width: 24px;
    height: 24px;
}

.social-icon i {
    font-size: 24px;
    color: #3FA2F6;
    transition: color 0.3s ease;
}

.social-icon:hover i {
    color: #f7a621;
}

.landing-page {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 90px;
    margin-bottom: 100px;
    font-family: 'Montserrat', sans-serif;
    position: relative; /* Add this to make it a positioning context */
    overflow: hidden;   /* Make sure particles don't overflow */
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.content, .image-container {
    position: relative; /* Make sure content stays above particles */
    z-index: 1;        /* Ensure content is above particles */
}

@media screen and (max-width: 768px) {
    .landing-page {
        flex-direction: column;
        text-align: center;
    }

    .content, .image-container {
        max-width: 100%;
    }

    .image-container {
        margin-top: 2rem;
    }

    .content h1 {
        font-size: 3rem;
    }

    .content h2 {
        font-size: 2.4rem;
    }

    .content p {
        font-size: 1.4rem;
    }

    .btn {
        font-size: 1.4rem;
    }

    .action-container {
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons {
        margin-top: 15px;
    }
}

/* HIRE */

.why-hire-me {
    text-align: center;
    padding: 8rem 2rem;
    font-family: 'Montserrat', sans-serif;
    margin-top: 100px;
    background-color: #191919;
    position: relative;
    overflow: hidden;
}

.why-hire-me::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(63, 162, 246, 0.05), transparent 70%);
    pointer-events: none;
}

.why-hire-me h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 4rem;
    color: #fff;
    position: relative;
    display: inline-block;
    /* Removed the blue line underneath */
}

.qualities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    perspective: 1000px;
}

.quality {
    border-radius: 15px;
    padding: 2rem 1.5rem;
    width: calc(25% - 2rem);
    min-width: 220px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(63, 162, 246, 0.1);
}

.quality::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(63, 162, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.quality:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 15px 35px rgba(63, 162, 246, 0.2);
    border-color: rgba(63, 162, 246, 0.3);
    z-index: 1;
}

.quality:hover::before {
    opacity: 1;
}

.icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e2024, #23272b);
    padding: 3px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

.quality:hover .icon-container {
    transform: translateY(-10px) scale(1.1);
}

.icon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(63, 162, 246, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.quality:hover .icon-overlay {
    opacity: 1;
    animation: pulse 2s infinite;
}

.quality img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border: 2px solid #3FA2F6;
}

.quality h2 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    color: #3FA2F6;
    transition: transform 0.3s ease;
}

.quality:hover h2 {
    transform: scale(1.05);
}

.quality p {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}

.quality:hover p {
    color: #fff;
}

.hover-details {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.quality:hover .hover-details {
    height: auto;
    opacity: 1;
    margin-top: 1rem;
}

.hover-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.hover-details li {
    background: rgba(63, 162, 246, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #3FA2F6;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(63, 162, 246, 0.2);
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.quality:hover .hover-details li:nth-child(1) { animation-delay: 0.1s; }
.quality:hover .hover-details li:nth-child(2) { animation-delay: 0.2s; }
.quality:hover .hover-details li:nth-child(3) { animation-delay: 0.3s; }
.quality:hover .hover-details li:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(63, 162, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(63, 162, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(63, 162, 246, 0); }
}

/* Medium screens */
@media (max-width: 992px) {
    .quality {
        width: calc(50% - 2rem);
    }
    
    .why-hire-me {
        padding: 5rem 1.5rem;
    }
}

/* Small screens */
@media (max-width: 768px) {
    .why-hire-me {
        padding: 4rem 1rem;
        margin-top: 3rem;
    }
    
    .why-hire-me h1 {
        margin-bottom: 3rem;
    }
    
    .icon-container {
        width: 85px;
        height: 85px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .quality {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .why-hire-me {
        padding: 3rem 1rem;
    }
    
    .qualities {
        gap: 2rem;
    }
}


/* PROJECTS */

.projects-container {
    padding: 20px;
    text-align: center;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
    background: #000000;
}

/* Canvas styling for particles */
#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Floating particles animation */
.projects-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(63, 162, 246, 0.1) 2px, transparent 2px),
        radial-gradient(circle, rgba(63, 162, 246, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    background-position: 0 0, 25px 25px;
    animation: particleFloat 20s linear infinite;
    z-index: -1;
}

@keyframes particleFloat {
    0% {
        background-position: 0 0, 25px 25px;
    }
    100% {
        background-position: 50px 50px, 75px 75px;
    }
}

h1 {
    margin-bottom: 40px;
    font-size: 25px;
    position: relative;
    display: inline-block;
}

/* Category Filter Buttons */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0 50px 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid #3FA2F6;
    background: transparent;
    color: #3FA2F6;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(63, 162, 246, 0.2), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    box-shadow: 0 0 20px rgba(63, 162, 246, 0.4);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #3FA2F6;
    color: white;
    box-shadow: 0 0 25px rgba(63, 162, 246, 0.6);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.projects-grid.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

.project-card {
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    outline: 0.5px solid #3FA2F6;
    position: relative;
    overflow: hidden;
    display: block;
}

.project-card.hidden {
    display: none;
}

/* Card hover glow effect */
.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(63, 162, 246, 0.5);
}

/* Card border animation */
.project-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3FA2F6, transparent, #3FA2F6);
    background-size: 400% 400%;
    z-index: -1;
    border-radius: 12px;
    animation: borderGlow 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover::before {
    opacity: 1;
}

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    flex-shrink: 0;
}

.slider img {
    width: 100%;
    flex-shrink: 0;
    border-radius: 10px;
    height: auto;
    pointer-events: none;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #3FA2F6;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 10;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.slider-container:hover .prev,
.slider-container:hover .next {
    opacity: 1;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
}

.prev:focus, .next:focus {
    outline: none;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.project-card h3 {
    font-size: 2em;
    margin-bottom: 10px;
    color: white;
    margin-top: 20px;
    position: relative;
    display: inline-block;
}

/* Project type badge */
.project-type {
    display: inline-block;
    background: rgba(63, 162, 246, 0.2);
    color: #3FA2F6;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7em;
    font-weight: 600;
    margin-top: 10px;
    border: 1px solid rgba(63, 162, 246, 0.3);
}

/* Title hover effect */
.project-card h3::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #3FA2F6;
    transition: width 0.3s ease;
}

.project-card:hover h3::after {
    width: 100%;
}

.project-card p {
    font-size: 0.9em;
    line-height: 1.6;
    margin-top: 10px;
    color: #ccc;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .project-card {
        padding: 15px;
    }

    .project-card h3 {
        font-size: 1.3em;
    }

    .project-card p {
        font-size: 0.8em;
    }

    .prev, .next {
        padding: 8px;
        font-size: 16px;
        opacity: 0.8;
    }

    .category-filter {
        gap: 15px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        padding: 10px;
    }

    .project-card h3 {
        font-size: 1.2em;
    }

    .project-card p {
        font-size: 0.75em;
    }

    .prev, .next {
        padding: 6px;
        font-size: 14px;
    }

    .category-filter {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
    }
}




/* INTEREST */

/* Original CTA Container Styles */
.cta-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #191919;
    padding: 2rem;
    margin: 0;
    margin-top: 5rem;
    width: 100%;
    min-height: 120px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Montserrat', sans-serif;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    /* Enhanced background */
    background: linear-gradient(to right, #191919, #232323);
}

.cta-container:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-container.hover-active {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cta-text {
    color: #ffffff;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 600;
    margin-right: 1.5rem;
    position: relative;
    z-index: 1;
    /* Animation initial state */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    /* Animation initial state */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.btn {
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 150px;
    position: relative;
    overflow: hidden;
}

.btn-outline {
    color: #ffffff;
    background-color: transparent;
    border: 1px solid #ffffff;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-primary {
    color: #191919;
    background-color: #3FA2F6;
    border: none;
}

.btn-primary:hover {
    background-color: #5bb2ff;
    transform: translateY(-3px);
    color: white;
}

/* Button pulse animation */
@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(63, 162, 246, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(63, 162, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(63, 162, 246, 0);
    }
}

.btn.pulse {
    animation: buttonPulse 1.5s ease infinite;
    transform: translateY(-3px);
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.fadeInUp {
    animation-name: fadeInUp;
}

/* Floating particles animation */
@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Medium screens */
@media screen and (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        margin-top: 3rem;
    }

    .cta-text {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

/* Small screens */
@media screen and (max-width: 480px) {
    .cta-container {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }
    
    .btn {
        width: 100%;
        min-width: 0;
        padding: 0.7rem 1rem;
    }
    
    .cta-buttons {
        width: 100%;
        gap: 0.8rem;
    }
}


/* Youtube */
/* Enhanced YouTube section with animations */
.youtube-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: white;
    border-radius: 10px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 100px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Background glow effect */
.youtube-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(63, 162, 246, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.video-container {
    position: relative;
    max-width: 45%;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.video-container:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 15px 40px rgba(63, 162, 246, 0.4);
}

/* Image glow effect on hover */
.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(63, 162, 246, 0);
    transition: box-shadow 0.5s ease;
}

.video-container:hover::after {
    box-shadow: 0 0 20px rgba(63, 162, 246, 0.7);
}

.video-container img {
    width: 350px;
    margin-right: 20px;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.video-container:hover img {
    transform: translateY(-5px);
}

.thumbnail {
    width: 100%;
    border-radius: 10px;
}

.content-container {
    max-width: 50%;
    margin-left: 40px;
    padding-left: 20px;
    position: relative;
}

/* Left border animation */
.content-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, #3FA2F6, transparent);
    animation: borderGrow 2s ease forwards;
}

@keyframes borderGrow {
    0% { height: 0; top: 50%; }
    100% { height: 100%; top: 0; }
}

.content-container h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    display: inline-block;
}

/* Title underline animation */
.content-container h2::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: #3FA2F6;
    box-shadow: 0 0 10px rgba(63, 162, 246, 0.8);
    animation: titleLine 1.5s ease-in-out forwards 0.5s;
}

@keyframes titleLine {
    0% { width: 0; }
    100% { width: 100%; }
}

.content-container h2 span {
    color: #3FA2F6;
    position: relative;
    animation: glowText 2s ease-in-out infinite;
}

@keyframes glowText {
    0%, 100% { text-shadow: 0 0 5px rgba(63, 162, 246, 0.3); }
    50% { text-shadow: 0 0 15px rgba(63, 162, 246, 0.7); }
}

.content-container p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 0.8s;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.cta-button {
    display: inline-block;
    background-color: #3FA2F6;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.2s;
    box-shadow: 0 5px 15px rgba(63, 162, 246, 0.4);
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Button hover effect */
.cta-button:hover {
    background-color: #d62828;
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 20px rgba(214, 40, 40, 0.6);
}

/* Button ripple effect */
.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
}

.cta-button:hover::after {
    width: 200%;
    height: 200%;
    opacity: 0;
    animation: ripple 0.6s ease;
}

@keyframes ripple {
    0% { width: 0; height: 0; opacity: 0.5; }
    100% { width: 200%; height: 200%; opacity: 0; }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .youtube-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .video-container,
    .content-container {
        max-width: 100%;
        margin-left: 0;
    }

    .content-container {
        padding-left: 0;
        margin-top: 30px;
    }

    .content-container::before {
        display: none;
    }

    .content-container h2 {
        font-size: 2rem;
    }

    .content-container h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .content-container p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .content-container h2 {
        font-size: 1.5rem;
    }

    .content-container p {
        font-size: 0.8rem;
    }

    .cta-button {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}


/*Windah Basudaar*/

.quote-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #191919;
    color: white;
    padding: 5% 3%;
    width: 100%;
    min-height: 350px;
    margin: 0 auto;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    margin-top: 8vh;
    font-family: 'Montserrat', sans-serif;
    transition: transform 0.3s ease-in-out;
    flex-wrap: wrap;
}

.quote-section:hover {
    transform: scale(1.02);
}

.quote-section img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin-right: 5%;
    max-width: 100%;
}

.quote-text {
    flex: 1;
    min-width: 300px;
    max-width: 800px;
}

.quote-text p {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.quote-text h4 {
    font-size: clamp(16px, 2vw, 18px);
    color: #3FA2F6;
    margin: 0;
    margin-top: 20px;
}

.quote-text small {
    font-size: clamp(10px, 1.5vw, 14px);
    color: #B0BEC5;
}

@media (max-width: 992px) {
    .quote-section {
        padding: 4% 6%;
    }
    
    .quote-section img {
        margin-right: 4%;
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .quote-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        height: auto;
    }

    .quote-section img {
        margin: 0 0 20px 0;
        width: 180px;
        height: 180px;
    }

    .quote-text {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .quote-section {
        margin-top: 60px;
        padding: 20px 15px;
    }
    
    .quote-text p {
        font-size: 16px;
    }

    .quote-text h4 {
        font-size: 18px;
    }

    .quote-section img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 350px) {
    .quote-section img {
        width: 120px;
        height: 120px;
    }
    
    .quote-text p {
        font-size: 14px;
    }
    
    .quote-text h4 {
        font-size: 16px;
    }
    
    .quote-text small {
        font-size: 10px;
    }
}

/* Tools */

.skills-section {
    text-align: center;
    color: white;
    padding: 50px 20px;
    border-radius: 8px;
    max-width: 1100px;
    margin: 50px auto;
    font-family: 'Montserrat', sans-serif;
}

.skills-section h2 {
    margin-bottom: 30px;
    font-size: 28px;
}

.skills-grid {
    display: flex;
    justify-content: center;
}

.skills-grid img {
    max-width: 400px;
    height: auto;
    transition: transform 0.3s ease;
}

.skills-grid img:hover {
    transform: scale(1.05);
}

/* Skill */

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 120px;
}

.skills-title {
    font-size: 44px;
    margin-bottom: 20px;
    color: #3FA2F6;
    font-weight: 700;
}

.skills-description {
    font-size: 15px;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
    font-weight: 300;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 400px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

.skill-card {
    background-color: #1e3246;
    border-radius: 15px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(63, 162, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(63, 162, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-card:hover::before {
    left: 100%;
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(63, 162, 246, 0.2);
    border-color: #3FA2F6;
}

.skill-icon {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(5deg);
}

.skill-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.skill-name {
    color: #3FA2F6;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.skill-card:hover .skill-name {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(63, 162, 246, 0.5);
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive font sizes */
@media (max-width: 768px) {
    .skills-title {
        font-size: 36px;
    }
    
    .skills-description {
        font-size: 14px;
    }
    
    .skill-icon {
        width: 60px;
        height: 60px;
    }
    
    .skill-name {
        font-size: 14px;
    }
    
    .skill-card {
        padding: 25px 15px;
    }
}

@media (max-width: 480px) {
    .skills-title {
        font-size: 28px;
    }
    
    .skill-icon {
        width: 50px;
        height: 50px;
    }
    
    .skill-name {
        font-size: 12px;
    }
    
    .skill-card {
        padding: 20px 10px;
    }
}







/* Profile */

.contact-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #191919;
    color: white;
    width: 100%;
    min-height: 540px;
    box-sizing: border-box;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

/* Animated background elements */
.contact-section::before,
.contact-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(63, 162, 246, 0.05);
    z-index: 1;
}

.contact-section::before {
    top: -100px;
    right: -50px;
    animation: float 15s infinite alternate ease-in-out;
}

.contact-section::after {
    bottom: -150px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: rgba(63, 162, 246, 0.03);
    animation: float 20s infinite alternate-reverse ease-in-out;
}

/* Floating particles */
.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(63, 162, 246, 0.2);
    border-radius: 50%;
    z-index: 1;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 15px;
    height: 15px;
    animation: particleFloat 25s infinite ease-in-out;
}

.particle:nth-child(2) {
    top: 70%;
    left: 80%;
    width: 8px;
    height: 8px;
    animation: particleFloat 20s infinite 2s ease-in-out;
}

.particle:nth-child(3) {
    top: 40%;
    left: 60%;
    width: 12px;
    height: 12px;
    animation: particleFloat 18s infinite 1s ease-in-out;
}

.particle:nth-child(4) {
    top: 80%;
    left: 30%;
    width: 10px;
    height: 10px;
    animation: particleFloat 22s infinite 3s ease-in-out;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 40px;
    position: relative;
    z-index: 5;
}

.contact-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    animation: fadeInLeft 1s ease-out;
}

.contact-content h2 {
    font-size: 42px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.contact-content p {
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

.contact-content h3 {
    margin-bottom: 30px;
    font-size: 18px;
    color: #3FA2F6;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.contact-buttons {
    display: flex;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.email-button {
    background-color: #3FA2F6;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(63, 162, 246, 0.4);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
    position: relative;
    overflow: hidden;
}

.email-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: buttonGlow 5s infinite linear;
    z-index: -1;
}

.email-button i {
    margin-right: 8px;
}

.email-button:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(63, 162, 246, 0.6);
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #222222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3FA2F6;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.social-icon::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(63, 162, 246, 0.1) 0%, rgba(63, 162, 246, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::after {
    opacity: 1;
}

.social-icon:nth-child(1) {
    animation: popIn 0.5s ease-out 0.8s forwards;
}

.social-icon:nth-child(2) {
    animation: popIn 0.5s ease-out 0.9s forwards;
}

.social-icon:nth-child(3) {
    animation: popIn 0.5s ease-out 1s forwards;
}

.social-icon:nth-child(4) {
    animation: popIn 0.5s ease-out 1.1s forwards;
}

.social-icon:nth-child(5) {
    animation: popIn 0.5s ease-out 1.2s forwards;
}

.social-icon:hover {
    transform: translateY(-5px);
    background-color: #2d2d2d;
}

.contact-image {
    position: relative;
    max-width: 320px;
    height: 400px;
    z-index: 2;
    opacity: 0;
    animation: fadeInRight 1s ease-out 0.5s forwards;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}


/* Animation Keyframes */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.9;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 180px;
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    70% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(10px, 10px) scale(1.05);
    }
    50% {
        transform: translate(20px, -5px) scale(1.1);
    }
    75% {
        transform: translate(5px, -15px) scale(1.05);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-30px, 20px);
    }
    50% {
        transform: translate(20px, 40px);
    }
    75% {
        transform: translate(40px, -10px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes buttonGlow {
    0% {
        transform: rotate(45deg) translate(-100%, -100%);
    }
    100% {
        transform: rotate(45deg) translate(100%, 100%);
    }
}

@keyframes borderPulse {
    0% {
        border-color: rgba(63, 162, 246, 0.2);
        transform: scale(1);
    }
    100% {
        border-color: rgba(63, 162, 246, 0.5);
        transform: scale(1.03);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-wrapper {
        max-width: 900px;
    }
    
    .contact-content h2 {
        font-size: 36px;
    }
    
    .contact-image {
        max-width: 300px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        gap: 50px;
    }
    
    .contact-content {
        max-width: 100%;
        text-align: center;
    }
    
    .underline {
        margin: 0 auto 25px auto;
    }
    
    .contact-buttons {
        justify-content: center;
    }
    
    .contact-image {
        max-width: 240px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 15px;
    }
    
    .contact-content h2 {
        font-size: 28px;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 20px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons {
        margin-left: 0;
    }
    
    .contact-image {
        max-width: 200px;
        height: 250px;
    }
}



/* animasi css */
.typed-cursor {
    opacity: 1;
    animation: blink 0.7s infinite;
    color: #EBF5FD;
}

.typing-text {
    margin-bottom: 10px;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Update the responsive styles for the typing text */
@media screen and (max-width: 768px) {
    #typing-text {
        font-size: 24px !important;
        font-family: 'Montserrat', sans-serif;
    }
}

@media screen and (max-width: 480px) {
    #typing-text {
        font-size: 20px !important;
        font-family: 'Montserrat', sans-serif;
    }
}

/* Update the existing landing-page class to better handle the typing animation */
.landing-page .content h1 {
    min-height: 40px;
    display: flex;
    align-items: center;
    color: #EBF5FD;
}






