/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Header */
header {
    background: #333;
    /* color: #fff; */
    padding: 15px 20px;
    color: #333;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 10px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    transition: background 0.3s;
}

header nav ul li a:hover {
    background: #555;
    border-radius: 5px;
}

/* Section */
section {
    padding: 50px 20px;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}




/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
    }

    header nav ul li {
        margin: 10px 0;
    }
}
/* //gallery */

.project-gallery {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.project {
    max-width: 300px;
    text-align: center;
}

.project img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* ///
body {
    font-family: Arial, sans-serif;
}

h1, h2 {
    margin-bottom: 20px;
}

footer {
    position: relative;
    bottom: 0;
    width: 100%;
} */

.text-gray {
    color: gray;
  }
  
  
  
  .contact_us{
    display: center;
    justify-content: center;
  }
  
  /* footer .footer-first ul{
    color: rgb(231, 6, 6);
  } */
  
  /* .email */
/* hello @--email */
/* Base styling for the link */
 .email a {
    font-size: 18px; /* Default font size */
    font-weight: normal;
    color: #FFD700 !important;
    text-decoration: underline;
    padding: 10px 20px;
    border: 2px solid #FFD700 !important;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

/* Media query for devices with screen width less than 768px */
@media (max-width: 768px) {
     .email a{
        font-size: 18px; /* Smaller font size on smaller screens */
        padding: 8px 15px; /* Adjust padding */
    }
}

/* Media query for very small devices (mobile phones) with screen width less than 480px */
@media (max-width: 480px) {
     .email a{
        font-size: 15px; /* Even smaller font size */
        padding: 6px 10px; /* Further reduce padding */
    }
}
/* .email */

/* ? social */
  .social-icon-about {
      display: inline-block;
      width: 50px;
      /* Set width for icon */
      height: 50px;
      /* Set height for icon */
      line-height: 50px;
      /* Center text/icon vertically */
      border-radius: 15%;
      /* Makes the icon round */
      border: 2px solid gray;
      /* Adds black border around the icon */
      text-align: center;
      /* Centers the icon horizontally */
      transition: all 0.3s ease;
      /* For smooth transitions */
      margin: 10px;
      /* Adds margin between the icons */
      background-color: #fff;
      /* White background */
  }

  .social-icon-about i {
      font-size: 24px;
      /* Icon size */
      color: inherit;
      /* Inherits color from parent link */
  }

  .social-icon-about:hover {
      opacity: 0.8;
      /* Slight opacity change on hover */
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
      /* Adds a shadow effect */
  }

  @media (max-width: 768px) {
      .social-icon-abouts {
          display: flex;
          justify-content: center;
          flex-wrap: wrap;
          /* Wraps the icons on smaller screens */
      }

      .social-icon-about {
          margin: 10px 15px;
          /* Adds spacing between icons on smaller screens */
      }
  }

  /* Media query for small devices */
  @media (max-width: 768px) {
      .social-icon-about i {
          font-size: 1.5rem;
          /* Slightly smaller icons for smaller screens */
      }
  }

  /* nav */
  .navbar-brand {
      font-weight: bold;
      font-size: 1.5rem;
  }

  .contact {
      background: #495057;
  }

  .contact-btn {
      background-color: #007bff;
      color: white;
  }

  .social-icon-about a {
      color: #007bff;
      text-decoration: none;
      transition: color 0.3s ease;
  }

  .social-icon-about a:hover {
      color: #0056b3;
  }

  .mylogo {
      width: 50px;
      /* Adjust size as needed */
      height: 50px;
      /* Ensure it's proportional */
      padding: 5px;
      /* Add spacing around the logo */
      object-fit: contain;
      /* Ensures the logo fits well without distortion */
      border-radius: 5px;
      /* Optional: adds rounded corners */
  }

  .my-profile-img {
      width: 200px;
      /* Adjust image size */
      height: 200px;
      border-radius: 50%;
      /* Circular shape */
      object-fit: cover;
      /* Ensure the image scales well */
      border: 3px solid #ddd;
      /* Optional border */
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      /* Subtle shadow for depth */
  }


  .firstSection {
      background: linear-gradient(135deg, #f0f4f8, #d9e8fc);
      /* Gradient background */
      /* color: #333; */
      color: darkslategray;
      /* Text color */
  }

  .firstSection h1 span,
  .firstSection h2 span, .firstSection h3 span {
      font-weight: bold;
  }

  .firstSection .intro {
      line-height: 1.8;
  }

  .firstSection img {
      max-width: 80%;
      border-radius: 10px;
      /* Rounded corners for image */
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
      /* Subtle shadow for depth */
  }

  .buttons .btn {
      padding: 10px 20px;
      font-size: 1.1rem;
      text-transform: capitalize;
  }

  .buttons .btn i {
      margin-right: 8px;
      /* Space between icon and text */
  }

  /* .bgimg {
      width: 100%;
      position: absolute;
      z-index: -1;
      opacity: 0.6;
  } */
  .bgimg {
      /* background: url('assets\images\wall\bg3.jpg') no-repeat center center; */
      background-size: cover;
      min-height: 50vh;
      /* Full-screen height */
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
      width: 100%;
      position: absolute;
      z-index: -1;
      opacity: .4;
  }

  /* partibcle hero */
  .hero {
      /* background-color: #333333; */
      /* Charcoal Gray */
      /* background-color: #000000; */
      /* Jet Black */
      /* background-color: #2F4F4F; */
      background-color: transparent;
      /* Dark Slate Gray  */
      /* background: black;  Set background to transparent */
      color: darkgray;
      /* Text color to white */
      min-height: 30vh;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
  }

  .hero h1 {
      font-size: 3.5rem;
      font-weight: 700;
      color: #ffc107;
      /* Golden color for text */
      text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
      /* Added shadow for better contrast */
      z-index: 1;
      /* Ensure title is above the particles */
  }
  .hero h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffc107;
    /* Golden color for text */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    /* Added shadow for better contrast */
    z-index: 1;
    /* Ensure title is above the particles */
}
  .hero p {
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.8;
      font-size: 1.25rem;
      z-index: 1;
      /* Ensure text is above the particles */
      color: purple;
      font-weight: bolder;
      text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);

  }

  .hero a {
      font-size: 1.25rem;
      font-weight: 400;
      text-transform: uppercase;
      border-radius: 50px;
      padding: 15px 30px;
      /* Increased padding for better button size */
      background-color: transparent;
      border: 2px solid #ffc107;
      color: #ffc107;
      transition: background 0.3s ease-in-out, transform 0.2s;
      z-index: 1;
      /* Ensure button is above the particles */
  }

  .hero a:hover {
      background: #ffc107;
      color: #fff;
      /* Change text color on hover */
      transform: scale(1.05);
  }

  #particles-js {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      /* Ensure particles stay below the content */
  }

  @media (max-width: 768px) {
      .hero h3 {
          font-size: 1.5rem;
          /* Reduce font size on smaller screens */
      }

      .hero p {
          font-size: 1.1rem;
          /* Reduce font size for paragraphs on smaller screens */
      }

      .hero a {
          font-size: 1rem;
          padding: 10px 20px;
          /* Smaller padding on mobile */
      }
  }

  @media (max-width: 576px) {
      .hero h1 {
          font-size: 2rem;
          /* Further reduce font size for small screens */
      }

      .hero p {
          font-size: 1rem;
          /* Ensure smaller text for readability */
      }

      .hero a {
          font-size: 0.9rem;
          padding: 8px 15px;
          /* Adjust for mobile-friendly buttons */
      }
  }

  .social-icon:hover {
      opacity: 0.7;
      transition: opacity 0.3s ease;
  }

  .custom-bg-gray {
      background-color: #f2f2f2;
      /* Light gray */
  }
  /* <!-- //exp --> */ */



  .secSection {
      background-color: #f8f9fa;
      /* padding: 50px 20px; */
      padding: 50px 20px;
  }

  .secSection h1 {
      text-align: center;
      font-weight: 700;
      color: #343a40;
      margin-bottom: 40px;
  }

  .work-card {
      /* border: none; */
      border: #0056b3;
      background-color: #ffffff;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      border-radius: 2px;
      overflow: hidden;
      border-radius: 5px;
  }

  .work-card .icon-container {
      background-color: gray;
      color: #ffffff;
      text-align: center;
      padding: 5px;
  }

  .work-card .icon-container i {
      font-size: 2rem;
  }

  .work-card .card-body {
      padding: 20px;
  }

  .work-card-title {
      font-size: 1.25rem;
      font-weight: bold;
      color: #007bff;
  }

  .work-card-year {
      font-size: 0.9rem;
      color: #6c757d;
      margin-bottom: 10px;
  }

  .work-card-desc {
      font-size: 0.95rem;
      color: #495057;
  }

  /* //typing text  */


  #element {
      color: navy !important;
      /* Apply the purple color */
      font-weight: bold;
      /* Make it visually prominent */
  }
 
  /* Project Section */
  #projects {
      background-color: #f8f9fa;
  }

  #projects .card {
      border: none;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease-in-out;
  }

  #projects .card:hover {
      transform: translateY(-10px);
  }

  #projects .card-img-top {
      height: 80px;
      object-fit: cover;
  }

  #projects .card-body {
      padding: 20px;
  }

  #projects .icon-container {
      margin-top: 10px;
  }

  #projects .btn {
      margin-top: 10px;
      text-transform: uppercase;
  }

  #projects .fab {
      color: #007bff;
  }

  #projects .text-center {
      text-align: center;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
      #projects .card-img-top {
          height: 150px;
          /* Smaller image on mobile */
      }

      #projects .card-body {
          padding: 15px;
      }

      #projects .btn {
          font-size: 0.9rem;
      }
  }

  @media (max-width: 576px) {
      #projects .col-md-4 {
          margin-bottom: 20px;
          /* Spacing between cards on smaller screens */
      }
  }

  /* Ensure the images inside the cards are circular */
  #projects .card-img-top {
      border-radius: 50%;
      /* This makes the images circular */
      width: 80px;
      /* Fixed width */
      height: 80px;
      /* Fixed height */
      object-fit: cover;
      /* Ensure the image covers the circular area */
      margin-top: 5px;
      /* Add 5px top padding */
      display: block;
      /* Ensures the image is treated as a block element */
      margin-left: auto;
      margin-right: auto;
      /* Center the image horizontally */
  }


  .social-icon {
      border: 1px solid black;
      /* Always white border */
      border-radius: 15%;
      /* Circular shape */
      padding: 8px;
      /* Space inside the icon */
      transition: all 0.3s ease;
      /* Smooth transition for all effects */
      display: inline-block;
      /* Ensures the icon stays in a line */
  }

  .social-icon:hover {
      opacity: 0.7;
      /* Reduces opacity on hover */
      box-shadow: 0 0 5px 2px gray;
      /* Gray shadow around the icon */
      transition: all 0.3s ease;
      /* Smooth transition for opacity and shadow */
  }
 /* ///fonts */

 .section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive font size */
    font-weight: 700; /* Bold font weight */
    color: #FFD700; /* Golden yellow color */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5); /* Shadow effect for depth */
    font-family: 'Playfair Display', serif; /* Elegant serif font for titles */
    text-align: center; /* Center alignment */
    margin-bottom: 0.5rem; /* Space below the title */
    line-height: 1.3; /* Comfortable spacing */
}

/* Additional adjustments for smaller screens */
@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.6rem, 3.5vw, 2rem); /* Slightly smaller for mobile devices */
    }
}



/* Styling for subtitle (h4) */
.name-title h1 h2 h3 h4 {
    /* font-size: clamp(0.2rem, 4vw, 1.8rem); Responsive font size */
    font-weight: bold; /* Bold styling */
    color: #333; /* Slightly lighter black for contrast */
    text-align: center; /* Center align */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    font-family: 'Roboto', sans-serif; /* Clean, professional font */
    margin-bottom: 1rem; /* Balanced spacing */
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
    .name-title .display-4 {
        font-size: clamp(1.6rem, 5vw, 2rem); /* Adjust for smaller screens */
    }

    .name-title h3 h4 {
        font-size: clamp(1rem, 4vw, 1.5rem); /* Adjust for smaller screens */
    }
}

/* Back to Top Button Styling */

/* Back to Top Button Styling */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* Hidden by default */
    padding: 10px 20px;
    border-radius: 18px;
    background-color: #FFD700; /* Golden yellow */
    color: blue; /* Black text */
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 2px solid blue; /* Black border */
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px; /* Space between text and icon */
}

/* Arrow Icon Styling */
.back-to-top .arrow {
    font-size: 24px; /* Larger arrow icon */
}

/* Hover Effect */
.back-to-top:hover {
    background-color: #FFC107; /* Slightly lighter shade */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .back-to-top {
        font-size: 14px;
        padding: 8px 16px;
        gap: 8px;
    }
    .back-to-top .arrow {
        font-size: 20px;
    }
}


/* ================= */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive font size */
    font-weight: 700; /* Bold font weight */
    color: #FFD700; /* Golden yellow color */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5); /* Shadow effect for depth */
    font-family: 'Playfair Display', serif; /* Elegant serif font for titles */
    text-align: center; /* Center alignment */
    margin-bottom: 0.5rem; /* Space below the title */
    line-height: 1.3; /* Comfortable spacing */
}

/* Additional adjustments for smaller screens */
@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.6rem, 3.5vw, 2rem); /* Slightly smaller for mobile devices */
    }
}

/* 
hr class */

/* Styling for the horizontal rule */
.section-divider {
    border: 0;
    height: 2px; /* Thickness of the line */
    background: linear-gradient(to right, #FFD700, #FF6347, #FFD700); /* Golden yellow to tomato gradient */
    margin: 5px 0;
    border-radius: 5px; /* Rounded corners */
}

/* Section titles with responsive font size and styling */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive font size */
    color: #333; /* Dark color for better readability */
    font-weight: bold;
    text-align: center; /* Centered text */
    margin-bottom: 5px;
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem; /* Slightly smaller font size on mobile */
    }
}

/* name2 */

/* General Styling */
.name2 {
    font-size: clamp(1.7rem, 5vw, 1.5rem); /* Responsive font size */
    font-weight: bold;
    margin-bottom: 20px; /* Adjust bottom margin */
}

.name2 h4 {
    font-size: clamp(1.2rem, 4vw, 1.5rem); /* Responsive font size for h4 */
    margin-bottom: 15px;
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .name2 {
        font-size: 1.3rem; /* Smaller font size for mobile screens */
    }

    .name2 h4 {
        font-size: 1.5rem; /* Smaller font size for h4 on mobile */
    }
}

@media (max-width: 480px) {
    .name2 {
        font-size: 1.5rem; /* Even smaller font size on very small screens */
    }

    .name2 h4 {
        font-size: 1.3rem; /* Adjust h4 for very small screens */
    }
}


/* hr */

.section-divider {
    border: none; /* Remove default border */
    height: 1px; /* Set height to 1px */
    background-color: darkgray; /* Set background color */
    color: gray; /* Set the line color */
}

.copyrights p {
    color: #6c757d; /* Grayish color for a professional look */
    font-size: 14px; /* Adjust font size for a cleaner appearance */
    font-weight: normal; /* Ensuring the text isn't too bold */
}
