/* Body & General Styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f5f5ef;
}
.me-2{
    width: 300px;
}
/* Navbar Brand Styling */
.navbar-brand img {
   
    width: 100px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: rotate(360deg);
}

/* Hover Effect for Navbar Links */
.nav-link {
    color: #fff !important;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
    color: #f8d210; 
    transition: 0.3s ease;
}

.nav-link::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
    margin: 0 auto;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navbar Background */
.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Logo Scaling */
.navbar-brand img {
    width: 40px;
    height: 40px;
}

@media (max-width: 768px) {
    .navbar-brand img {
        width: 30px;
        height: 30px;
    }
}

/* Hero Section Styling */
.hero {
    height: 100vh;
    background: url('image/1.png') no-repeat center center/cover; /* Default for larger screens */
    position: relative;
    overflow: hidden;
}

/* Background Overlay for Better Text Visibility */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

/* Text and Button Styling */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1, .hero p {
    font-weight: bold;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .hero {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .hero {
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }
}

/* Apply Animation */
.animated-text {
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.animated-btn {
    animation: fadeIn 1.5s ease-in-out forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

/* About Section Styles */
#about {
    background-color: #f5f5ef;
    color: #333;
}

#about h2 {
    font-size: 2rem;
    font-weight: bold;
}

#about img {
    max-width: 250px;
    /* margin-bottom: 20px; */
}
.about img {
    /* max-width: 250px; */
    margin: auto;
}

/* Center the image and text */
#about .row {
    display: flex;
    align-items: center;
}

/* Button Styles */
#about .btn {
    margin-top: 20px;
}
  /* Hide the full description by default */
  .more-info {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Button active state */
#readMoreBtn {
    background-color: #0056b3;
    border-color: #0056b3;
}

#readMoreBtn:hover {
    background-color: #003d7a;
    border-color: #003d7a;
}

/*================== Skill section================ */
#skills {
    text-align: center;
    padding: 50px 20px;
  }

  #skills h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
  }

  #skills p {
    font-size: 1rem;
    margin-bottom: 40px;
    color: #666;
  }

  /* Skill Circle Styling */
  .skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  .skill {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
  }

  .skill canvas {
    position: absolute;
    top: 0;
    left: 0;
  }

  .skill span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    line-height: 150px;
    display: block;
    text-align: center;
    z-index: 1;
  }

  .skill-title {
    font-size: 1rem;
    margin-top: 10px;
    color: #333;
  }
  /* Skill Progress Circle */
  .outer-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#464646 0%, #ddd 0%);
    position: relative;
    margin: 0 auto;
  }
  
  .inner-circle {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .progress-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
  }

/* Projects Section */
#projects{
    background-color: #f5f5ef;
}
.project-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }

  .project-card:hover {
    transform: scale(1.05); /* Zoom effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Shadow effect */
  }

  .card-body {
    text-align: center;
  }

  .card-img-top {
    object-fit: cover;
    height: 200px; /* Adjust the image height */
  }
/* Contact Section Styles */

#contact .social-icons a {
    margin: 0 10px;
    transition: transform 0.3s;
}

#contact .social-icons a:hover {
    transform: scale(1.2);
}

.input-box {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #0d6efd; /* Blue underline */
    background: transparent;
    outline: none;
    color: #333;
}

.input-box:focus {
    border-color: #ff6347; /* Change color on focus */
}

.input-box::placeholder {
    color: #aaa; /* Placeholder color */
}
/* =====================----------------------============--------------===================================== */

  .table {
    border-collapse: separate;
    border-spacing: 0 1rem;
    margin: 0 auto;
  }

  .table th, .table td {
    text-align: center;
    padding: 15px;
    vertical-align: middle;
  }

  .table th {
    background-color: #343a40;
    color: white;
  }

  .table-bordered {
    border: 1px solid #ddd;
  }

  .table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
  }

  .thead-dark {
    background-color: #343a40;
  }
  
  .table-responsive {
    max-width: 100%;
    overflow-x: auto;
  }