:root {
    --primary-color: #79F3FE;
    --secondary-color: #1a1a1a;
    --dark-color: #121212;
    --darker-color: #0a0a0a;
    --light-color: #f8f9fa;
    --gray-color: #333333;
    --light-gray: #aaaaaa;
    --card-bg: #1e1e1e;
    --border-color: #2c2c2c;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--light-color);
    background-color: var(--dark-color);
    scroll-behavior: smooth;
}

.navbar {
    background-color: var(--darker-color) !important;
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: var(--light-color);
}

.nav-link {
    font-weight: 500;
    margin-left: 15px;
    color: var(--light-color) !important;
}

.nav-link.active, .nav-link:hover {
    color: var(--primary-color) !important;
}

.language-switcher {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-left: 15px;
}

/* Section Styling */
.animated-section {
    position: relative;
    overflow: hidden;
}

.animated-box {
    position: absolute;
    border-radius: 8px;
    opacity: 0.7;
    animation: moveBox linear infinite;
}

.animated-box:nth-child(1) { width: 50px; height: 50px; left: 10%; animation-duration: 5s; background-color: #FF5733; }
.animated-box:nth-child(2) { width: 40px; height: 40px; left: 30%; animation-duration: 7s; background-color: #33FF57; }
.animated-box:nth-child(3) { width: 60px; height: 60px; left: 50%; animation-duration: 6s; background-color: #3380FF; }
.animated-box:nth-child(4) { width: 45px; height: 45px; left: 70%; animation-duration: 8s; background-color: #F833FF; }
.animated-box:nth-child(5) { width: 55px; height: 55px; left: 85%; animation-duration: 9s; background-color: #FFAA33; }

@keyframes moveBox {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0.8; }
    50% { opacity: 0.5; }
    100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* Hero Section Fix */
.hero-section {
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
}

/* Container inside Hero Section */
.hero-section .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Row Styling */
.hero-section .row {
    height: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Hero Content Styling */
.hero-content {
    padding: 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--light-color);
}

.hero-content p {
    color: var(--light-gray);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
}

/* Profile Image Container */
.profile-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

/* Profile Image */
.profile-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

/* Heading Text Styling */
.heading-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Animated Boxes - Ensure behind content */
.animated-box {
    position: absolute;
    border-radius: 8px;
    opacity: 0.7;
    animation: moveBox linear infinite;
    z-index: 0; /* keep behind hero */
}

/* Animation Keyframes */
@keyframes moveBox {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0.8; }
    50% { opacity: 0.5; }
    100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* Pulse animation for icons */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.animated-icon {
    display: inline-block;
    animation: pulse 1.5s infinite ease-in-out;
}

.section-padding {
    padding: 50px 0;
}

.bg-light {
    background-color: var(--secondary-color) !important;
}

.section-title {
    margin-bottom: 50px;
    position: relative;
    text-align: center;
}

.section-title h2 {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 15px;
    position: relative;
    display: inline-block;
    color: var(--light-color);
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--light-gray);
}

.profile-img-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.profile-img-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 5px solid var(--primary-color);
    top: 20px;
    left: 20px;
    z-index: -1;
}

.profile-img {
    width: 100%;
    height: auto;
    object-fit:cover;
    border-radius: 5px;
}



.personal-info {
    margin-top: 30px;
}

.personal-info-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--light-gray);
}

.personal-info-item i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
}

.personal-info-item strong {
    color: var(--light-color);
    margin-right: 5px;
}

.download-cv {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.download-cv:hover {
    background-color: #ff3333;
    color: white;
    transform: translateY(-3px);
}

.about-info li {
    margin-bottom: 15px;
    color: var(--light-gray);
}

.about-info li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.about-info li strong {
    color: var(--light-color);
}

h3 {
    color: var(--light-color);
}

p {
    color: var(--light-gray);
}

.skill-item {
    margin-bottom: 30px;
}

.skill-name {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    color: var(--light-color);
}

.progress {
    height: 10px;
    border-radius: 10px;
    background-color: var(--gray-color);
}

.progress-bar {
    background-color: var(--primary-color);
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    left: -20px;
    top: 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--primary-color);
    left: -27px;
    top: 5px;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--light-color);
}

.timeline-location {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--light-gray);
}

.projects-row{
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.project-item {
    display: flex;
    flex-direction: column;
    height: 100%; /* Makes all cards equal height */
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: var(--card-bg);
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-info {
    flex-grow: 1; /* Ensures content fills available space */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures consistent spacing */
    padding: 20px;
    background-color: var(--card-bg);
}

.project-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--light-color);
}

.project-category {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.btn{
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color:black;
}

.btn:hover {
    background-color: black;
    border-color:  var(--primary-color);
    color: var(--primary-color); 
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: black;
    border-radius: 50%;
    margin-right: 20px;
    font-size: 20px;
}

.contact-info-content h4 {
    color: var(--light-color);
    margin-bottom: 5px;
}

.contact-info-content p {
    color: var(--light-gray);
    margin-bottom: 0;
}

.contact-form .form-control {
    height: 50px;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: var(--gray-color);
    border: 1px solid var(--border-color);
    color: var(--light-color);
}

.contact-form .form-control::placeholder {
    color: var(--light-gray);
}

.contact-form textarea.form-control {
    height: 150px;
}

.contact-form .btn {
    padding: 12px 30px;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-colo);
    border-radius: 5px;
    font-weight: 600;
}

.contact-form .btn:hover {
    background-color: black;
    color: var(--primary-color);
}

footer {
    background-color: var(--darker-color);
    color: #fff;
    padding: 20px 0 20px;
}

footer h3 {
    color: var(--light-color);
    margin-bottom: 20px;
}

footer p {
    color: var(--light-gray);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    margin-top: 25px;
}

.text-white {
    color: var(--light-color) !important;
}

.form-control:focus {
    background-color: var(--gray-color);
    color: var(--light-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 77, 77, 0.25);
}

.brand-link{
    color: var(--primary-color);
    text-decoration:none;
}
/* heading section */
.heading-container {
    font-size: 2rem;
    font-weight: bold;
    height: 50px;
    overflow: hidden;
    
}

.heading-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    position: absolute;
    width: 100%;
    color:#79F3FE;
}

.heading-active {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .profile-img-container::before {
        display: none;
    }
    
    .timeline {
        padding-left: 20px;
    }
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}
.bottom-nav a {
    text-decoration: none;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bottom-nav a i {
    font-size: 20px;
}
/* Dropdown Menu in Bottom Navbar */
.bottom-nav .dropdown-menu {
    background-color: var(--dark-color);
    border: 1px solid var(--border-color);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 50px; /* Adjust position above the navbar */
    left: 50%;
    transform: translateX(-50%);
}

/* Dropdown menu items */
.bottom-nav .dropdown-menu .dropdown-item {
    color: var(--light-color);
    padding: 10px 15px;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Hover effect for dropdown items */
.bottom-nav .dropdown-menu .dropdown-item:hover {
    background-color: var(--gray-color);
    color: var(--primary-color);
}

/* Styling for Dropdown Toggle Button */
.bottom-nav .dropdown-toggle {
    color: var(--primary-color);
    cursor: pointer;
}

.bottom-nav .dropdown-toggle:hover {
    color: var(--primary-color);
}

/* Remove default Bootstrap dropdown caret */
.bottom-nav .dropdown-toggle::after {
    display: none !important;
}

.title-section-heading{
    display:none;
}
.bg-custom{
    color:#79F3FE;
}
/* Phones & Tablets (<= 1024px) */
@media (max-width: 1024px) {
    .bottom-nav {
        display: flex !important; /* or block/grid depending on layout */
    }
    .navbar {
        display: none !important;
    }
}

/* Desktops (>= 1025px) */
@media (min-width: 1025px) {
    .bottom-nav {
        display: none !important;
    }
    .navbar {
        display: flex !important; /* or block/grid */
    }
}


/* About Section */
.about-item {
  margin-bottom: 2rem;
}

.about-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about-item h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.about-item .mobile{
    display:none;
}

@media (max-width: 768px) { /* Adjust for mobile screens */
    .about-item .laptop{
        display:none;
    }
    .about-item .mobile {
        display: block; /* Make it visible on mobile */
    }
    .extra-default{
        height:50px;
    }
}

textarea{
    resize:none;
}
.swal-wide {
  width: 70% !important;
}

@media (max-width: 768px) {
  .swal-wide {
    width: 100% !important;
  }
}
pre {
    font-family: 'Poppins', sans-serif;
    color: #333; /* Dark text for better contrast */
    overflow-x: auto; /* Horizontal scrolling for long content */
    white-space: pre-wrap; /* Wrap text while preserving formatting */
    line-height: 1.5; /* Improved line spacing */
    font-size: 16px; /* Comfortable font size */
    margin-bottom: 20px; /* Spacing from other elements */
}

.blog-icon{
    color: var(--primary-color);
}
/* Navbar Dropdown Styling */
.navbar .dropdown-menu {
    background-color: var(--dark-color); /* Dark background */
    border: 1px solid var(--border-color); /* Border color */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Dropdown menu items */
.navbar .dropdown-menu .dropdown-item {
    color: var(--light-color); /* Light text */
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Dropdown item hover & focus effect */
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background-color: var(--gray-color); /* Gray background */
    color: var(--primary-color); /* Highlight text */
}

/* Dropdown toggle button */
.navbar .dropdown-toggle {
    color: var(--light-color);
}

.navbar .dropdown-toggle:hover {
    color: var(--primary-color);
}

.blog-container{
    margin-top:100px;
}

.blog-card{
    border:none;
    transition: 0.3s all ease;
    background: var(--secondary-color);
}

.blog-card:hover{
    transform: translateY(-10px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body{
    color:var(--light-color);
}
.post-detail{
    margin-top:20px;
    padding:10px;
}

.blog-container pre{
    color: var(--light-color);
}

.blog-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.blog-section{
    background: var(--darker-color);
}

.youtube-iframe{
    width:100%; 
    height:60vh
}

.post-detail span{
    padding:10px;
}
.swal-img{
    width:100%;
    height:60vh;
    object-fit:cover;
}
.postimg{
     width:100%;
    height:60vh;
    object-fit:cover;   
}

.blog-img{
    width:100%;
    height:35vh;
    object-fit:cover;
}