/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .card {
    width: 100%;
    margin-bottom: 20px;
  }
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
}

html {
  scroll-behavior: smooth;
}

:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --default-color: #000000;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #010203;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0009bd;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #0a0505;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #07d7ea;
  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #040b14;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #040b14;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #ffffff;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffffff;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
.light-background {
  --background-color: #f4fafd;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #040b14;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #151f2b;
  --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

a:hover, .btn:hover {
  transition: 0.3s;
  color: #ffffff;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.social-links a:hover {
  transform: scale(1.5);
  transition: transform 0.1s ease-in-out;
  -webkit-transform: scale(1.5);
  -moz-transform: scale(1.5);
  -ms-transform: scale(1.5);
  -o-transform: scale(1.5);
  -webkit-transition: transform 0.1s ease-in-out;
  -moz-transition: transform 0.1s ease-in-out;
  -ms-transition: transform 0.1s ease-in-out;
  -o-transition: transform 0.1s ease-in-out;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
/* Header */
.header {
  color: var(--default-color);
  background: linear-gradient(135deg, #111 0%, #333 100%);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  width: 300px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Profile image container with overlay effect */
.header .profile-img {
  position: relative; /* To position the overlay */
}

.header .profile-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5); /* Initial color */
  z-index: 2;
  animation: color-change-overlay 4s infinite alternate; /* Apply color change */
  mix-blend-mode: multiply; /* Blend the color with the image */
  pointer-events: none; /* Ensure it doesn't block interaction */
}


/* Profile Image */
.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid; /* Remove fixed color and animate */
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  /* Apply the color animation to profile image border */
  animation: color-change-border 4s infinite alternate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header .profile-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Colorful motion for the profile image border */
@keyframes color-change-border {
  0% {
    border-color: #ff5733; /* Vivid Red-Orange */
  }
  20% {
    border-color: #33ff57; /* Vivid Green */
  }
  40% {
    border-color: #3357ff; /* Bright Blue */
  }
  60% {
    border-color: #ff33c4; /* Vivid Pink */
  }
  80% {
    border-color: #faff33; /* Bright Yellow */
  }
  100% {
    border-color: #33fff7; /* Light Cyan */
  }
}
/* Logo */
/* Colorful motion for the logo text */
@keyframes color-change-text {
  0% {
    color: #ff5733; /* Vivid Red-Orange */
  }
  20% {
    color: #33ff57; /* Vivid Green */
  }
  40% {
    color: #3357ff; /* Bright Blue */
  }
  60% {
    color: #ff33c4; /* Vivid Pink */
  }
  80% {
    color: #faff33; /* Bright Yellow */
  }
  100% {
    color: #33fff7; /* Light Cyan */
  }
}

.header .logo h1 {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 1.5px;
  /* Apply the color animation to logo text */
  animation: color-change-text 4s infinite alternate; /* Faster transition */
}


/* Navbar Menu */
.navmenu {
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 20px;
  width: 200px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.navmenu ul {
  list-style: none;
  padding: 10PX;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navmenu a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--nav-font);
  text-decoration: none;
  font-size: 16px;
  padding: 12px 20px;
  margin-bottom: 10px;
  border-radius: 50px;
  color: var(--nav-color);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.navmenu a:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.3));
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  color: var(--contrast-color);
  transform: scale(1.05);
}

.navmenu a i {
  font-size: 22px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.navmenu a:hover i {
  transform: rotate(10deg);
}

.navmenu .active {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Header Toggle (Hamburger Menu) */
.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}

.header .header-toggle:hover {
  background-color: rgba(0, 150, 255, 0.8);
  color: white;
  transform: rotate(90deg);
}

/* Mobile Hamburger Menu */
.hamburger i:hover {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

/* Responsive Adjustments */
@media (min-width: 1200px) {
  .header~main, .header~#footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}

.header.header-show {
  left: 0;
}

@media (max-width: 768px) {
  .navmenu {
    width: 80%;
  }

  .navmenu ul {
    display: flex;
    justify-content: center;
  }

  .navmenu ul li {
    margin-bottom: 0;
  }
}

/* Navbar Social Links */
.header .social-links {
  margin: 0 0 15px 0;
}

.header.social-links a:hover {
  color: #0d6efd;
  transform: scale(0.8);
}

.header .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--default-color);
  margin: 0 2px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

.header .social-links a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: #00c4ff;
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -ms-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: #1f0e7f;
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Section Styling
--------------------------------------------------------------*/
.section {
  padding: 60px 20px;
  background-color: var(--background-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  /* Center text within the section */
}

/*--------------------------------------------------------------
# Section Title
--------------------------------------------------------------*/
.section-title {
  position: relative;
  /* Position relative for the underline */
  display: block;
  /* Makes the title take the full width */
  margin: 0;
  /* Reset margins */
  padding-bottom: 10px;
  /* Space between text and underline */
  font-size: 1.5rem;
  /* Base font size */
}

.section-title::after {
  content: "";
  /* Creates the pseudo-element */
  position: absolute;
  /* Position relative to the title */
  left: 0;
  /* Align to the left */
  bottom: 0;
  /* Align to the bottom */
  width: 100%;
  /* Full width */
  height: 4px;
  /* Thickness of the underline */
  background-color: #ffffff;
  /* Color of the underline */
}

@media (max-width: 768px) {

  /* Adjust for mobile view */
  .section-title {
    padding-bottom: 15px;
    /* More space for mobile */
    font-size: 1.75rem;
    /* Slightly larger font for better visibility */
  }

  .section-title::after {
    height: 5px;
    /* Slightly thicker underline for visibility on mobile */
  }
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  display: inline-block;
  /* Make h2 width fit content */
  position: relative;
  /* For the underline */
}

.section-title h2::after {
  content: "";
  display: block;
  width: 100%;
  /* Dynamic width to match h2's width */
  height: 5px;
  /* Thickness of the underline */
  background: var(--accent-color);
  position: absolute;
  left: 0;
  /* Align underline to the left */
  bottom: -10px;
  /* Position it just below the h2 */
  transform: scaleX(0);
  /* Start with zero width */
  transform-origin: left;
  /* Start the scale animation from the left */
  opacity: 0;
  /* Start hidden */
  animation: scaleIn 0.6s forwards;
  /* Animation for underline */
  animation-delay: 0.6s;
  /* Delay for the underline animation */
}

/* Keyframes for the underline animation */
@keyframes scaleIn {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }

  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}


.section-title p {
  font-size: 20px;
  color: var(--secondary-color);
  line-height: 1.6;
  margin-top: 20px;
  /* Add space between paragraph and heading */
}

/* Media query for mobile devices */
@media only screen and (max-width: 768px) {
  .section-title p {
    font-size: 15px; /* Smaller font size for mobile */
    line-height: 1.3; /* Adjust line-height for better readability */
    margin-top: 15px; /* Reduced margin for mobile */
    text-align: justify; /* Make sure text is aligned properly */
    padding: 0 10px; /* Add some padding to avoid text touching edges */
  }
}

/* Hover effect */
.section-title h2:hover::after,
.section-title h2:focus::after {
  transform: scaleX(1);
  /* Scale to full width */
  opacity: 1;
  /* Fade in */
  transition: transform 0.5s ease, opacity 0.5s ease;
  /* Smooth transition */
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
/* Hero Section */
/* General Hero Styling */
.hero {
  width: 100%;
  min-height: 100vh; /* Full screen height */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Prevent overflow of image */
}

/* Hero Image */
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the entire section */
  position: absolute; /* Position behind content */
  top: 0;
  left: 0;
  z-index: 1; /* Set z-index to position below text */
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
  .hero {
    height: 60vh; /* Reduce the height for mobile */
  }

  .hero img {
    object-position: center; /* Ensure important part of image is centered */
    height: 100%;
  }
}

/* Optional - For screens below 480px, you can further adjust */
@media (max-width: 480px) {
  .hero {
    height: 50vh; /* Further reduce height for very small screens */
  }
}

/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Dark overlay with increased opacity */
  z-index: 2; /* Set overlay above image */
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3; /* Set content above overlay */
  text-align: center; /* Centering text */
  color: #fff;
}

.hero-subtitle {
  font-size: 1.5rem; /* Font size for the subtitle */
  color: white; /* Text color */
  text-align: center; /* Center align text */
  margin-top: 10px; /* Space above the subtitle */
  animation: fadeIn 1.5s ease-in-out; /* Fade-in animation */
}

.hero-subtitle strong {
  color: #ffd700; /* Highlight color for your name */
  font-weight: bold; /* Bold text for emphasis */
}

/* Fade-in Animation */
@keyframes fadeIn {
  0% {
      opacity: 0; /* Start invisible */
  }
  100% {
      opacity: 1; /* Fade in to visible */
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .animated-heading {
      font-size: 1.8rem; /* Smaller font size for mobile */
      margin-bottom: 15px; /* Adjust space below heading */
  }

  .hero-subtitle {
      font-size: 1.4rem; /* Smaller font size for subtitle */
      margin-top: 10px; /* Adjust space above the subtitle */
  }

  .hero-actions {
      flex-direction: column; /* Stack buttons vertically */
      align-items: center; /* Center align buttons */
  }

  .btn {
      width: 100%; /* Full-width buttons */
      margin-bottom: 10px; /* Space between buttons */
  }
}

/* Button Styles */
.btn {
  padding: 10px 20px; /* Button padding */
  border: none; /* No border */
  border-radius: 5px; /* Rounded corners */
  text-decoration: none; /* No underline */
  font-size: 1rem; /* Button font size */
  margin: 0 10px; /* Space between buttons */
  transition: background-color 0.3s; /* Transition for hover effect */
}

.primary-btn {
  background-color: #007bff; /* Primary button color */
  color: white; /* Text color */
}

.primary-btn:hover {
  background-color: #0056b3; /* Darker shade on hover */
}

.secondary-btn {
  background-color: transparent; /* Secondary button transparent */
  color: white; /* Text color */
  border: 1px solid white; /* Border for secondary button */
}

.secondary-btn:hover {
  background-color: white; /* Background on hover */
  color: #007bff; /* Text color on hover */
}

/* Social Icons */
.social-icons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.social-icons a {
  font-size: 24px;
  color: #fff;
  margin: 0 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #007bff;
}

/* Scroll Down Icon */
.scroll-down {
  position: absolute; /* Positioning it absolutely within the hero section */
  bottom: 20px; /* Adjust this value to position it further up or down */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Adjust to perfectly center */
  font-size: 2rem; /* Size of the icon */
  color: white; /* Color of the icon */
  opacity: 0.8; /* Slight transparency for a soft effect */
  transition: opacity 0.3s; /* Smooth transition for hover effect */
  z-index: 10; /* Ensure it appears above other elements */
  animation: bounce 1.5s infinite; /* Apply bounce animation */
}

.scroll-down:hover {
  opacity: 1; /* Full opacity on hover */
  cursor: pointer; /* Pointer cursor on hover */
}

/* Bounce Animation Keyframes */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0); /* Start and end at original position */
  }
  50% {
    transform: translateY(-10px); /* Move up slightly */
  }
}


/* Animated Heading */
.animated-heading {
  font-size: 2.5rem;
  /*Fontsizefortheheading*/font-weight: bold;
  /*Makethetextbold*/color: #ffffff;
  /*Textcolor*/text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  /*Shadowfordepth*/margin: 20px 0;
  /*Marginforspacing*/animation: fadeIn 1.5s ease-in-out;
  -webkit-animation: fadeIn 1.5s ease-in-out;
  text-align: center; /* Center align text */
  margin-bottom: 20px; /* Space below heading */
}

/* Fade-in Animation */
@keyframes fadeIn {
  0% {
      opacity: 0; /* Start invisible */
      transform: translateY(-20px); /* Start slightly above */
  }
  100% {
      opacity: 1; /* Fully visible */
      transform: translateY(0); /* Move to normal position */
  }
}

/* About Section */
#about .content ul li {
  padding: 10px 0;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-size: 15px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

#about img {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  -webkit-transition: box-shadow 0.3s ease-in-out;
  -moz-transition: box-shadow 0.3s ease-in-out;
  -ms-transition: box-shadow 0.3s ease-in-out;
  -o-transition: box-shadow 0.3s ease-in-out;
}

#about img:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hobby-list {
    flex-direction: column;
    /* Stack items vertically on mobile */
    align-items: center;
  }

  .hobby-item {
    justify-content: center;
    /* Center the icon and text in mobile view */
    text-align: center;
  }

  .hobby-item i {
    margin-right: 0;
    margin-bottom: 0px;
    /* Move icon above text */
  }
}

.info-list {
  list-style: none; /* Remove bullet points */
  padding: 0;
  margin: 0;
  font-size: 50px;
}

.info-list li {
  display: grid; /* Use grid for alignment */
  grid-template-columns: 35% 65%; /* Adjust the width ratio between strong and span */
  padding: 10px 0;
  align-items: center; /* Align vertically */
  border-bottom: 1px solid #e0e0e0; /* Separator between list items */
}

.info-list li i {
  color: #00c4ff; /* Icon color */
  margin-right: 10px; /* Space between icon and text */
  grid-column: 1 / span 1; /* Icon takes up first column */
}

.info-list li strong {
  font-weight: 700; /* Bold text */
  color: #333; /* Darker color */
  margin-right: 10px;
  font-size: medium;
}

.info-list li span {
  color: #555; /* Slightly lighter color for span */
  text-align: left; /* Align text to the left */
  font-weight: 700;
}

.info-list li a {
  color: #0400ff; /* Link color */
  text-decoration: none; /* Remove underline */
  transition: color 0.3s; /* Smooth hover effect */
}

.info-list li a:hover {
  color: #0073e6; /* Color change on hover */
}

/* Responsive for mobile view */
@media (max-width: 768px) {
  .info-list li {
    grid-template-columns: 1fr; /* Stack items vertically on small screens */
    text-align: left; /* Left-align all text */
  }

  .info-list li strong,
  .info-list li span {
    grid-column: 1 / span 2; /* Each item spans full width */
    text-align: left;
  }
}

/* Stats Section */
.stats-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.stats-item:hover {
  background-color: #00c4ff;
  color: #fff;
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stats-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: 0.5s;
  z-index: 1;
}

.stats-item:hover::before {
  left: calc(100% + 75px);
}

.stats .stats-item {
  padding: 30px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
  animation: bounce 1.5s infinite alternate;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.row {
  display: flex;
  flex-wrap: wrap; /* Ensures the columns wrap on smaller screens */
  margin: 0 -15px; /* Adjusts the margins for columns */
}

.col-lg-6 {
  padding: 0 15px; /* Adds padding for spacing */
  flex: 0 0 50%; /* Takes up 50% width on larger screens */
  max-width: 50%; /* Ensures max width */
}
.about .content ul {
  list-style: none;
  padding: 0;
  margin: 0; /* Removes margin */
}

.about .content li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

strong {
  margin-right: 5px; /* Adds space between label and value */
}
.about img {
  border-radius: 10px;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}
/* Mobile Styles */
@media (max-width: 768px) {
  .col-lg-6 {
    flex: 0 0 100%; /* Stacks columns on smaller screens */
    max-width: 100%;
  }
  
  li {
    font-size: 16px; /* Adjusts font size for readability */
  }
}
.hobbies {
  background: linear-gradient(135deg, #f0f9ff, #7d8da0);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 700px;
  position: relative;
  overflow: hidden;
}

.hobbies h2 {
  font-size: 28px;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 1px;
  position: relative;
}

.hobbies h2::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 4px;
  background-color: #00c4ff;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.hobby-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.hobby-item {
  background: linear-gradient(135deg, #009ffd, #2a2a72); /* Cool blue gradient */
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  width: 160px;
  height: 160px;
  color: white;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
  perspective: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hobby-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
  transform: rotate(45deg);
}

.hobby-item:hover {
  background: linear-gradient(135deg, #ff4f81, #ff0080); /* Vibrant hover gradient */
}

.hobby-item:hover::before {
  top: 0;
  left: 0;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 255, 0, 0.5), transparent); /* Bright hover effect */
}
.hobby-item i {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 36px;
  padding: 20px;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 10px rgba(255, 255, 255, 0.2);
}

.hobby-item:hover i {
  transform: rotateY(360deg);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

.hobby-item span {
  margin-top: 15px;
  font-size: 16px;
  color: white;
}

.hobby-item:hover {
  transform: translateY(-15px) rotateX(10deg) rotateY(10deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hobby-item:hover span {
  text-shadow: 0 3px 6px rgba(255, 255, 255, 0.6);
}

@keyframes floating {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.hobby-item {
  animation: floating 5s ease-in-out infinite;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
/* Container for skill item */
.skill-item {
  text-align: center;
  margin-bottom: 30px;
}

.skill-name {
  margin-top: 10px;
  font-weight: bold;
  font-size: 18px;
}

/* 3D effect for progress bar */
.progress-bar-wrap {
  background-color: #e0e0e0;
  border-radius: 10px;
  height: 20px;
  position: relative;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2); /* 3D shadow */
  margin-top: 15px;
  overflow: hidden;
}

.fill-bar {
  background: linear-gradient(45deg, #89f7fe, #66a6ff);
  height: 20px;
  width: auto;
  border-radius: 10px;
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.3);
  transition: width 2s ease-in-out; /* Animation for filling the bar */
}

/* Skill icon styles */
.skill-icon {
  font-size: 50px;
  color: #ff9800; /* Icon color */
  animation: pulse 2s infinite; /* Infinite pulse animation */
}

/* Keyframes for pulse effect */
@keyframes pulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.3);
      -webkit-transform: scale(1.3);
      -moz-transform: scale(1.3);
      -ms-transform: scale(1.3);
      -o-transform: scale(1.3);
}
  100% {
      transform: scale(0.8);
      -webkit-transform: scale(0.8);
      -moz-transform: scale(0.8);
      -ms-transform: scale(0.8);
      -o-transform: scale(0.8);
}
}


/* Initialize the progress bar with the correct percentage */
.fill-bar[data-progress="92"] {
  width: 92%;
}
.fill-bar[data-progress="90"] {
  width: 90%;
}
.fill-bar[data-progress="85"] {
  width: 85%;
}
.fill-bar[data-progress="88"] {
  width: 88%;
}
.fill-bar[data-progress="80"] {
  width: 80%;
}
.fill-bar[data-progress="75"] {
  width: 75%;
}
.fill-bar[data-progress="70"] {
  width: 70%;
}
.fill-bar[data-progress="65"] {
  width: 65%;
}
.fill-bar[data-progress="78"] {
  width: 78%;
}

/* Colorful icons */
.fa-code {
  color: #f44336;
}
.fa-paint-brush {
  color: #2196f3;
}
.fa-python {
  color: #0bfbf3;
}
.fa-js {
  color: #ffeb3b;
}
.fa-database {
  color: #607d8b;
}
.fa-react {
  color: #61dafb;
}
.fa-server {
  color: #795548;
}
.fa-network-wired {
  color: #3f51b5;
}
.fa-robot {
  color: #9c27b0;
}



/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume-title {
  text-decoration: underline;
  text-decoration-color: #00c4ff;
  text-decoration-thickness: 7px;
  margin-bottom: 15px;
  -moz-text-decoration-color: #00c4ff;
}


.resume-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
  font-weight: bold;
  color: #343a40;
}

.card-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  /* Allow cards to wrap */
  margin-top: 40px;
  gap: 20px;
}

.card {
  width: 30%;
  /* Adjust as needed */
  perspective: 1000px;
  margin: 20px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 250px;
  /* Adjust based on content */
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 2px solid #007bff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

.card-front {
  background-color: #ffffff;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.card-front i {
  animation: pulse 1s infinite;
  transition: transform 0.2s ease-in-out;
  -webkit-animation: pulse 1s infinite;
  -webkit-transition: transform 0.2s ease-in-out;
  -moz-transition: transform 0.2s ease-in-out;
  -ms-transition: transform 0.2s ease-in-out;
  -o-transition: transform 0.2s ease-in-out;
}

.card-front:hover i {
  transform: scale(1.15); /* Slight increase on hover */
}

.card-back {
  background-color: #007bff;
  /* Change color for the back */
  color: white;
  transform: rotateY(180deg);
  padding: 15px;
}

.card-front h4 {
  color: #007bff;
  font-weight: bold;
}

.card-front h5 {
  color: #555;
}

.btn-cgpa {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background-color: #28a745;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-cgpa:hover {
  background-color: #218838;
}

/* Hide default buttons */
button {
  background-color: #6200ea;
  color: white;
  border: none;
  padding: 10px;
  margin-top: 10px;
  cursor: pointer;
}

/* Flex container for buttons */
/* Base Button Styling */
.animated-btn {
  font-size: 30px;
  padding: 10px 30px;
  cursor: pointer;
  background-color: #6200ea;
  /* Button background color */
  color: #fff;
  border: none;
  border-radius: 8px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.4s, transform 0.2s;
}

@media (max-width: 768px) {
  .card h4 {
    font-size: 18px;
    /* Smaller font for mobile */
  }
}

@media (max-width: 768px) {
  .card {
    width: 100%;
    /* Stack the cards on mobile */
    margin-bottom: 20px;
    /* Add some space between stacked cards */
  }
}

/* Neon Border Animation */
.button-section {
  display: flex;
  justify-content: center; /* Center the button */
  margin-top: 20px; /* Add space above the button */
}
.animated-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #ff00cc, #3333ff, #ff9900, #00ffcc);
  background-size: 300% 300%;
  z-index: -1;
  filter: blur(5px);
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Hover Effect */
.animated-btn:hover::before {
  opacity: 1;
  animation: neon-glow 2s linear infinite;
}

.animated-btn:hover {
  transform: scale(1.05);
}

/* Glow Effect on Hover */
@keyframes neon-glow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Icon Styling */
.animated-btn i {
  font-size: 24px;
}

/* Project Section */
/* Container Styles */
.projects__container {
  display: grid; /* Using CSS Grid */
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive columns */
  gap: 20px; /* Space between project cards */
}

/* Card Styles */
.projects__card {
  background-color: #fff; /* Example background */
  border: 1px solid #ddd; /* Example border */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  overflow: hidden; /* Ensure rounded corners apply */
  transition: transform 0.4s ease, box-shadow 0.4s ease; /* Smooth transition on hover */
  perspective: 1000px; /* Perspective for 3D effect */
  transform-style: preserve-3d;
}

/* Hover effect for project cards */
.projects__card:hover {
  transform: rotateY(5deg) rotateX(5deg) scale(1.05); /* 3D tilt and slight zoom */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

/* Image Styles */
.projects__image {
  display: block; /* Block display for links */
}

.projects__img {
  width: 100%; /* Full width */
  height: 200px; /* Auto height */
  object-fit: cover;
  transition: transform 0.3s ease; /* Smooth image transition */
}

/* On hover, zoom out */
.projects__card:hover .projects__img {
  transform: scale(0.95); /* Zoom out effect */
}

/* Data Styles */
.projects__data {
  padding: 15px; /* Padding inside the card */
  text-align: center; /* Center align text */
}

.projects__name {
  font-size: 1.5rem; /* Font size for project name */
  margin: 10px 0; /* Space above and below project name */
  color: #333; /* Dark color for text */
  font-weight: bold; /* Bold font */
}

.projects__description {
  font-size: 0.9rem; /* Smaller font for description */
  color: #666; /* Grey color for description text */
  margin-bottom: 15px; /* Space below description */
}

/* Skills Styles */
.projects__skills {
  display: flex; /* Flexbox for skill icons */
  justify-content: center; /* Center align skill icons */
  gap: 10px; /* Space between icons */
  margin: 10px 0; /* Margin for skill icons */
}

.projects_skill {
  width: 40px;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover Effect for Skill Icons */
.projects_skill:hover {
  transform: scale(1.2); /* Slightly increase size on hover */
  filter: brightness(1.2); /* Brighten the image on hover */
}

/* Fade-in Animation for Skill Icons */
@keyframes fadeInSkill {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Start from below */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Move to the final position */
  }
}

/* Apply animation with slight delay to each icon */
.projects_skill:nth-child(1) {
  animation: fadeInSkill 0.6s ease forwards;
  animation-delay: 0.2s;
}
.projects_skill:nth-child(2) {
  animation: fadeInSkill 0.6s ease forwards;
  animation-delay: 0.4s;
}
.projects_skill:nth-child(3) {
  animation: fadeInSkill 0.6s ease forwards;
  animation-delay: 0.6s;
}
.projects_skill:nth-child(4) {
  animation: fadeInSkill 0.6s ease forwards;
  animation-delay: 0.8s;
}

/* Button Styles */
.projects__button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  background: #007bff; /* Bootstrap primary color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; /* For hover effect */
  overflow: hidden; /* Hide overflow for animation */
}

.projects__button:hover {
  background: #0056b3; /* Darker shade on hover */
  transform: scale(1.05); /* Slightly grow on hover */
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.4); /* Add shadow */
}

.projects__button i {
  margin-right: 5px; /* Space between icon and text */
}

/* Hover Animation with Ripple Effect */
.projects__button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.2); /* Light ripple color */
  transition: width 0.4s ease, height 0.4s ease, top 0.4s ease, left 0.4s ease;
  border-radius: 50%;
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.projects__button:hover::before {
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Text and Icon Layering */
.projects__button span, .projects__button i {
  position: relative;
  z-index: 2;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .projects__card {
    flex: 1 1 calc(50% - 20px); /* Two cards per row on medium screens */
    max-width: calc(90% - 20px); /* Maximum width for the card */
  }
}

@media (max-width: 480px) {
  .projects__card {
    flex: 1 1 calc(100% - 20px); /* One card per row on small screens */
    max-width: calc(100% - 20px); /* Maximum width for the card */
  }
}

/* Responsive Design for larger screens */
@media (min-width: 768px) {
  .projects__container {
      grid-template-columns: repeat(3, 1fr); /* Show 3 cards in a row */
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*
/* Service Item Styling */
.service-item {
  background: linear-gradient(135deg, #000000, #b6b8bf);
  /*Attractivegradient*/
  border: none;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  color: white;
  -webkit-transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  -moz-transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  -ms-transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  -o-transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.service-item:hover {
  transform: translateY(-10px) scale(1.05);
  /* 3D Depth Effect */
  box-shadow: 0 30px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #a7c1ff, #00c4ff);
  /* Background color shift on hover */
}

/* Icon Styling */
.service-item .icon {
  font-size: 60px;
  color: white;
  margin-right: 20px;
  transition: transform 0.4s ease, color 0.4s ease;
}

.service-item:nth-child(1) .icon {
  color: #ff6347; /* Tomato color for Database */
}

.service-item:nth-child(2) .icon {
  color: #4682b4; /* SteelBlue color for Editing */
}

.service-item:nth-child(3) .icon {
  color: #32cd32; /* LimeGreen color for Web Design */
}

.service-item:nth-child(4) .icon {
  color: #ff4500; /* OrangeRed color for Photography */
}

.service-item:nth-child(5) .icon {
  color: #306998; /* Python blue color for Python Development */
}

.service-item:nth-child(6) .icon {
  color: #8a2be2; /* BlueViolet color for Projects */
}

.service-item:hover .icon {
  transform: rotate(360deg);
  /* 360-degree icon rotation on hover */
  color: #000000;
  /* Icon color change on hover */
}

/* Title and Description */
.service-item .title {
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.service-item .description {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.9;
}

/* Add a glow effect around the service item on hover */
.service-item:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 10px 40px rgba(0, 0, 0, 0.3);
}

.btn-cgpa {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #007bff;
  /*Changetoyourpreferredcolor*/
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-weight: bold;
  -webkit-transition: background-color 0.3s ease;
  -moz-transition: background-color 0.3s ease;
  -ms-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
}

.btn-cgpa:hover {
  background-color: #000000;
  /* Darker shade on hover */
}

.btn-cgpa i {
  margin-right: 8px;
  /* Space between icon and text */
}


.neon-btn {
  display: inline-flex;
    align-items: center; /* Center icon and text vertically */
    padding: 15px 30px; /* Padding for button size */
    font-size: 18px; /* Font size */
    color: #000000; /* Text color */
    text-decoration: none; /* Removes underline */
    border-radius: 5px; /* Rounded corners */
    background: transparent; /* Transparent background */
    border: 2px solid #ff0080; /* Border color */
    position: relative; /* Positioning for the glow effect */
    overflow: hidden; /* Hide overflow for the glow */
    transition: color 0.4s ease; /* Transition for text color */
}

.neon-btn:before {
  content: ""; /* Creates a pseudo-element */
  position: absolute; /* Position absolutely within the button */
  top: 0; /* Align to the top */
  left: 0; /* Align to the left */
  right: 0; /* Align to the right */
  bottom: 0; /* Align to the bottom */
  border-radius: 5px; /* Match border radius */
  background: rgba(255, 0, 128, 0.6); /* Background for the glow */
  filter: blur(10px); /* Blur for the glow effect */
  z-index: 0; /* Set below the text */
  transition: opacity 0.4s ease; /* Transition for opacity */
  opacity: 0; /* Start invisible */
}

.neon-btn:hover:before {
  opacity: 1; /* Show the glow on hover */
}

.neon-btn:hover {
  color: #ff0080; /* Change text color on hover */
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/

.footer {
  background-color: #f8f9fa;
  /* Light background color */
  border-top: 1px solid #ddd;
  /* Light border at the top */
}

.footer .copyright {
  color: #555;
  /* Darker text color */
}

.footer .social-links {
  margin-top: 10px;
  /* Space above social icons */
}

.footer .social-links a {
  margin: 0 10px;
  /* Spacing between icons */
  color: #555;
  /* Icon color */
  transition: color 0.3s ease;
  /* Smooth color transition */
}

.footer .social-links a:hover {
  color: #00b4db;
  /* Color on hover */
}

.navmenu a {
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
}

.navmenu a:hover {
  color: #007bff;
  /* Change to your accent color */
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
#contact {
  background-color: #f5f5f5;
  /* Visible background */
  padding: 50px 0;
  /* Some padding for visibility */
  min-height: 400px;
  /* Ensures the section has enough height */
}

.info-wrap {
  background-color: #fff; /* Background for contact info */
  border-radius: 10px; /* Rounded corners */
  padding: 20px; /* Inner padding */
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1); /* Shadow effect */
}


@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}


.info-item h3 {
  text-align: left; /* Aligns the text to the left */
  margin: 0; /* Removes any default margin */
  font-weight: bold; /* Makes the text bold */
  font-size: 1.2rem; /* Adjusts the font size */
  color: #333; /* Sets the text color */
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
}

.hover-effect {
  color: blue; /* Default link color set to blue */
  text-decoration: none; /* Removes underline */
  transition: color 0.3s ease; /* Smooth transition effect */
}

.hover-effect:hover {
  color: rgb(255, 0, 0); /* Changes color to black on hover */
}


.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.contact .social-links a {
  margin: 0 10px; /* Space between icons */
  color: #333; /* Icon color */
  transition: color 0.3s; /* Transition for hover effect */
}

/* Form fields styles */
.form-control {
  border: 1px solid #ddd; /* Light gray border */
    border-radius: 8px; /* Rounded corners */
    padding: 12px 15px; /* Inner padding */
    transition: border-color 0.3s ease; /* Transition for border color */
}

.form-control:focus {
  border-color: #007bff; /* Change border color on focus */
  outline: none; /* Remove outline */
}

/* Submit button */
.btn-primary {
  background-color: #007bff; /* Primary button color */
    color: #fff; /* Text color */
    border: none; /* Remove border */
    border-radius: 8px; /* Rounded corners */
    padding: 12px 20px; /* Inner padding */
    cursor: pointer; /* Pointer on hover */
    transition: background-color 0.3s ease; /* Transition for background color */
}

.btn-primary:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

/* Loading, error, and success messages */
.loading,
.error-message,
.sent-message {
  display: none;
}

/* Label Styles */
label {
  font-weight: bold; /* Bold labels */
  color: #333; /* Darker text color */
}
.text-center {
  text-align: center !important;
}

.sent-message {
  color: green;
  font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .form-control {
      padding: 10px; /* Adjust padding for smaller screens */
  }
  
  .btn-primary {
      width: 100%; /* Full width for buttons on smaller screens */
  }
}

.social-links {
  justify-content: center; /* Center social media links */
  margin-top: 20px; /* Space above links */
}

.social-links a {
  margin: 0 10px; /* Space between icons */
  color: #333; /* Icon color */
  transition: color 0.3s; /* Transition for hover effect */
}

.social-links a:hover {
  color:blue; /* Color change on hover */
}