/**
* Template Name: iPortfolio
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
: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;
}

/* 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: #272829; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #050d18; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #149ddd; /* 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: #ffffff; /* 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 {
  --default-color: #2c3e50;
  --background-color: #f4f4f4;
  --heading-color: #34495e;
  --contrast-color: #ffffff;
  --accent-color: #3498db;
  --nav-color: #2c3e50;
  --nav-hover-color: #ffffff;
  --nav-font: 'Arial', sans-serif;
  --nav-dropdown-color: #7f8c8d;
  --nav-dropdown-hover-color: #ecf0f1;
  --nav-dropdown-background-color: #ecf0f1;
}


/* 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;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  margin-bottom: 20px; /* Add space below headings */
  line-height: 1.3; /* Improve readability */
}


/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


.header {
  color: var(--default-color);
  background-color: var(--background-color);
  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 color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}





/* Navbar Icon Styling */
.navmenu a .navicon {
  font-size: 18px;
  margin-right: 10px;
  color: var(--default-color);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  position: relative;
  text-align: left; /* Align text to the left */
  padding: 120px 0; /* Add space above and below */
  background-color: var(--hero-bg-color);
  display: flex; /* Use Flexbox for alignment */
  align-items: center; /* Vertically center content */
  justify-content: flex-start; /* Align content to the left */
}

#hero .container {
  max-width: 800px; /* Limit width of content */
  margin-left: 50px; /* Add space from the left edge */
}

.hero-bg-img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  filter: brightness(70%); /* Slightly increase brightness */
}

.hero-name {
  font-size: 1.75rem; /* Large font size */
  font-weight: 380;
  color: var(--contrast-color);
  margin-top: 50px;
  line-height: 1.3;
  text-transform: uppercase;
  margin-left: -35px;
  letter-spacing: 1.8px;
  text-shadow: 3px 3px 6px rgba(1, 11, 29, 0.3);
}

#hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(100%); /* Enhance visibility of text over image */
}

.name-highlight {
  color: var(--accent-color);
  font-style: italic;
}

.hero-description {
  font-size: 1.6rem;
  color: #140530;
  font-weight: 500;
  margin-top: 10px;
}

.highlight {
  color: var(--accent-color);
  font-weight: 700;
}

.typed-cursor--blink {
  font-size: 1.5rem;
  color: var(--accent-color);
  animation: blink 0.7s infinite step-start;
}

.profileimage img {
  transition: transform 0.3s ease-in-out;
  border-radius: 50%;
}

.profileimage img:hover {
  transform: scale(1.1);
}

/* Social Media Icons Hover Effect */
.socialbar a {
  margin: 0 10px;
  font-size: 25px;
  color: #333;
  transition: color 0.3s, transform 0.3s;
}

.socialbar a:hover {
  color: #0077b5; /* LinkedIn blue color */
  transform: scale(1.2); /* Slightly enlarge the icon on hover */
}

.socialbar a#facebook:hover {
  color: #3b5998; /* Facebook blue color */
}

.socialbar a#email:hover {
  color: #d44638; /* Email icon color */
}

.socialbar a#phone:hover {
  color: #34b7f1; /* Phone icon color */
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade-in-slide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/*--------------------------------------------------------------
# Navbar Styling
--------------------------------------------------------------*/
/* .separator {
  height: 2px;
  background: var(--accent-color);
  margin: 20px 0;
  opacity: 0.7;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 10px 15px;
  font-family: var(--nav-font);
  font-size: 18px; /* Increased font size */
  /* font-weight: 500; /* Increased font weight */
  /* letter-spacing: 0.5px; /* Added letter spacing for readability */
  /* display: flex;
  align-items: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navmenu a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateX(5px);
}

.navmenu a .navicon {
  font-size: 18px;
  margin-right: 10px;
  color: var(--default-color);
}

.navmenu a:hover .navicon {
  color: var(--contrast-color); /* Ensures contrast on hover */
/* } */ /* General Styling */
/* General Styling */
/* General Styling */
.navmenu {
  width: 100%;
  max-width: 300px;
  background-color: #e0f7fa; /* Soft cyan background */
  padding: 20px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(34, 2, 2, 0.1); /* Lighter shadow */
  margin-bottom: 20px;
}

.navmenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.navmenu .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  font-size: 16px;
  font-weight: 600;
  color: #37474f; /* Darker teal-gray text */
  text-decoration: none;
  background: #b2ebf2; /* Light cyan background */
  border-radius: 30px;
  transition: all 0.3s ease;
}

.navmenu .nav-link:hover {
  background: linear-gradient(to right, #80deea, #4dd0e1); /* Soft blue gradient on hover */
  color: #ffffff; /* Light text on hover */
  box-shadow: 0 4px 8px rgba(72, 188, 248, 0.3); /* Light blue shadow */
}

.navmenu .nav-link i {
  font-size: 22px;
  color: #607d8b; /* Light grayish-blue icon color */
  font-weight: bold;
  transition: all 0.3s ease;
}

.navmenu .nav-link:hover i {
  transform: scale(1.2);
  color: #ffffff;
}

.navmenu .nav-link.active {
  background: linear-gradient(to right, #4dd0e1, #26c6da); /* Active gradient */
  color: white;
  box-shadow: 0 4px 8px rgba(72, 188, 248, 0.4);
}


/* New modern styles */

.parent-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f1f8e9; /* Very light green background */
}

.card {
  margin-top: 15px;
  margin-left: 9.5px;
  width: 240px;
  height: 280px;
  border-radius: 1.5em;
  padding: 12px;
  background-color: #a5d6a7; /* Light green background */
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1), 
              -5px -5px 30px rgba(0, 0, 0, 0.1); /* Lighter shadows */
  margin-bottom: 45px;
}

.profileimage img {
  margin-top: 20px;
  width: 122.88px;
  height: 122.88px;
  border-radius: 50%;
  object-fit: cover;
}

.pfp {
  border-radius: 50%;
  fill: white;
}

.Name {
  color: #263238; /* Darker teal-gray text for the name */
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  padding: 15px;
  font-size: 20px;
  margin-top: 10px;
}

.socialbar {
  background-color: #b2dfdb; /* Light teal background */
  border-radius: 3em;
  width: 90%;
  padding: 14px;
  margin-top: 15px;
  color: #37474f; /* Darker text */
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.1), 
              -3px -3px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.card a {
  transition: 0.4s;
  color: #00796b; /* Dark green link color */
  font-size: 20px;
}

#github:hover {
  color: #ff6f00; /* Orange for GitHub */
}

#instagram:hover {
  color: #e91e63; /* Pink for Instagram */
}

#facebook:hover {
  color: #1976d2; /* Facebook blue */
}

#twitter:hover {
  color: #039be5; /* Twitter blue */
}

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

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

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

.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 {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
}

.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 15px;
  background: color-mix(in srgb, #f1f8e9, transparent 90%); /* Light greenish background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Lighter shadow */
}

.navmenu ul li {
  margin: 10px 0;
}

/* Adjust font size for nav menu list items */
.navmenu a,
.navmenu a:focus {
  font-size: 16px; /* Slightly larger font for clarity */
  font-weight: 400;
  color: #607d8b; /* Soft teal-gray text color */
  transition: color 0.3s ease;
}

/* Ensure nav icon visibility on hover */
.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  color: #4dd0e1; /* Soft cyan color for icons on hover */
  transform: scale(1.1); /* Slightly enlarge icon */
  transition: transform 0.3s ease;
}

/* Additional hover effect for icons */
.navmenu a .navicon {
  font-size: 18px;
  margin-right: 10px;
  color: #607d8b; /* Default soft grayish color */
  transition: color 0.3s ease, transform 0.3s ease;
}

.navmenu a:hover .navicon {
  color: #4dd0e1 !important; /* Soft cyan for icons */
  transform: scale(1.1);
}

/* Hover color for menu links */
.navmenu a:hover {
  color: #00796b !important; /* Soft teal color for links */
}

/* Dropdown Toggle */
.navmenu a .toggle-dropdown,
.navmenu a:focus .toggle-dropdown {
  font-size: 12px;
  line-height: 0;
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  flex-shrink: 0;
  background-color: color-mix(in srgb, #4dd0e1, transparent 90%); /* Light cyan background */
}

.navmenu a .toggle-dropdown:hover,
.navmenu a:focus .toggle-dropdown:hover {
  background-color: #4dd0e1; /* Soft cyan on hover */
  color: #ffffff; /* Contrast color for visibility */
}

/* Active state for links */
.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: #00796b; /* Teal for active links */
}

.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  color: #4dd0e1; /* Soft cyan for active icons */
}

.navmenu .active .toggle-dropdown,
.navmenu .active:focus .toggle-dropdown {
  background-color: #4dd0e1; /* Cyan for active dropdown toggle */
  color: #ffffff;
  transform: rotate(180deg);
}

/* Dropdown styles */
.navmenu .dropdown {
  display: block;
}

.navmenu .dropdown a,
.navmenu .dropdown a:focus {
  color: #607d8b; /* Soft teal-gray for dropdown text */
}

.navmenu .dropdown a:hover,
.navmenu .dropdown .active,
.navmenu .dropdown .active:focus {
  color: #00796b; /* Teal color on hover */
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 5px 10px;
  margin: 5px 10px;
  background-color: #ffffff; /* White background for dropdown */
  border: 1px solid #e0e0e0; /* Light gray border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow */
  transition: all 0.3s ease-in-out;
}

.navmenu .dropdown ul ul {
  background-color: rgba(33, 37, 41, 0.05); /* Very light gray for nested dropdowns */
}

.navmenu .dropdown > .dropdown-active {
  display: block;
  background-color: rgba(33, 37, 41, 0.02); /* Very light gray for active dropdown */
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
/* Footer Section */
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 50px 0;
  position: relative;
  text-align: center;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}

.footer .footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer .copyright p {
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--default-color);
}

.footer .sitename {
  font-weight: bold;
  color: var(--accent-color); /* Accent color for branding */
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
  color: var(--gray);
}

.footer .credits a {
  color: var(--accent-color);
  text-decoration: none;
}

.footer .credits a:hover {
  text-decoration: underline;
}

/* Social Media Icons Styling */


/* Mobile Responsiveness */
@media (max-width: 768px) {
  .footer .footer-content {
    padding: 0 15px;
  }
}


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.4s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Added shadow for depth */
  border: 2px solid transparent; /* Added transparent border */
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 44px; /* Center icon vertically */
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  color: var(--contrast-color);
  transform: scale(1.1); /* Slightly scale up on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25); /* Enhanced shadow on hover */
  border: 2px solid var(--accent-color); /* Add border on hover */
}

.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,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

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

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  /* background: color-mix(in srgb, var(--background-color), transparent 70%); */
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 26px;
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  font-size: 24px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

.hero .social-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 22px;
  }

  .hero p {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
/* Base Styles */
.about-wrapper {
  padding: 80px 0;
}

.about .profile-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.about .profile-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.about .profile-card img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 5px solid var(--accent-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.about .quote {
  font-style: italic;
  color: #555;
  font-size: 16px;
  margin-top: 20px;
}

.about .sub-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
  animation: fadeInUp 0.8s ease-out forwards;
}

.about .fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Contact Info & Key Strengths Card Styles */
.contact-card {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about .key-points li {
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.about .key-points li i {
  color: var(--accent-color);
  margin-right: 10px;
}

.about .contact-info p {
  margin-bottom: 10px;
  font-size: 16px;
}

.about .contact-info a {
  color: var(--accent-color);
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  .about .profile-card img {
    width: 130px;
    height: 130px;
  }

  .about-wrapper {
    padding: 60px 0;
  }
}



/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
/* Stats Section */
#stats {
  background: linear-gradient(to right, #f3f4f6, #ffffff);
  padding: 60px 0;
  text-align: center;
}

.stats .section-title h2 {
  font-size: 32px;
  color: var(--heading-color);
  margin-bottom: 20px;
}

.stats .section-title p {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.stats-item {
  padding: 20px;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.stats-item:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

.stats-item .circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: #fff;
  font-size: 36px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

.stats-item h3 {
  font-size: 36px;
  color: var(--heading-color);
  margin: 10px 0;
}

.stats-item p {
  font-size: 14px;
  color: #777;
}

@media (max-width: 768px) {
  .stats-item {
    margin-bottom: 30px;
  }
}


/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
/* General Styling */
.resume .resume-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.resume .lead {
  font-size: 18px;
  color: #777;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 50px;
}

/* Resume Item Styling */
.resume-item {
  margin-bottom: 30px;
  padding: 20px;
  border-left: 4px solid #f0f0f0;
  background-color: #fff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.resume-item:hover {
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
}

/* Section Titles */
.resume-item-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* Description */
.resume-item-description {
  font-size: 16px;
  color: #777;
  line-height: 1.8;
}

.resume-subitem {
  margin-bottom: 30px;
}

.resume-subitem h4 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.resume-subitem h5 {
  font-size: 16px;
  color: #999;
  margin-bottom: 5px;
}

.resume-subitem p {
  font-size: 14px;
  color: #777;
}

/* List Styling */
.resume-item ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.resume-item ul li {
  font-size: 16px;
  color: #444;
  margin-bottom: 12px;
}

.resume-item ul li strong {
  color: #007bff;
}

.resume-item ul li a {
  text-decoration: none;
  color: #007bff;
  font-weight: 600;
  transition: color 0.3s;
}

.resume-item ul li a:hover {
  color: #0056b3;
}

/* Hover Effect */
.resume-item:hover {
  background-color: #f9f9f9;
  border-left-color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .resume-title {
    font-size: 30px;
  }

  .resume-item-title {
    font-size: 20px;
  }

  .resume-item-description,
  .resume-subitem p {
    font-size: 14px;
  }

  .resume-item {
    padding: 15px;
  }

  .resume-item ul li {
    font-size: 14px;
  }
}

/* Icon Style */
.contact-info {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
  padding-bottom: 1px; /* Prevent collapsing margins */
  display: block; /* Ensure proper layout */

}

.contact-info li {
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-info li i {
  margin-right: 10px;
  color: #3e8e41; /* Change color to match your theme */
  font-size: 1.3rem;
}

/* Styling for the Resume Section Header */
.resume-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

/* More space for contact info */
.resume-item .contact-info li {
  font-size: 1.1rem;
  line-height: 1.5;
}



.contact-info li:nth-child(3) {
  margin-bottom: 10px; /* Ensure margin bottom works */
}



/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
/* Portfolio Section */
#portfolio {
  background-color: #f9f9f9;
}

.card-overlay {
  position: relative;
  overflow: hidden;
}

.card-overlay img {
  transition: transform 0.5s ease;
}

.card-hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.card-overlay:hover img {
  transform: scale(1.1);
}

.card-overlay:hover .card-hover {
  opacity: 1;
}

.portfolio-item {
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-10px);
}
/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
}

.services .service-item .icon {
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid var(--accent-color);
  margin-right: 20px;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 24px;
  line-height: 0;
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

.services .service-item .title a:hover {
  color: var(--accent-color);
}

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
/* Ensure the testimonial items have the same height */
.swiper-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px; /* Space between cards */
}

.testimonial-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%; /* Make the height flexible */
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  box-sizing: border-box; /* Ensure padding is included in height calculation */
}

.testimonial-item:hover {
  transform: translateY(-10px); /* Hover effect */
}

/* Image and content within the card */
.testimonial-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

.testimonial-item p {
  text-align: center;
  font-style: italic;
  margin-bottom: 15px;
  flex-grow: 1; /* Make sure text space takes up remaining height */
}

.testimonial-item h5 {
  font-weight: bold;
  margin-bottom: 5px;
}

.testimonial-item p.text-muted {
  font-size: 14px;
  margin-bottom: 15px;
}

.testimonial-item .quote-icon-left,
.testimonial-item .quote-icon-right {
  font-size: 20px;
  color: #6c757d;
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
/* General Styles */
/* Global Styles */
:root {
  --primary-color: #2d3d5b;
  --accent-color: #ff6f61;
  --surface-color: #ffffff;
  --text-color: #555555;
  --placeholder-color: #bbbbbb;
  --contrast-color: #ffffff;
  --border-color: #e4e4e4;
}

/* Section Title */
.contact .section-title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.contact .section-title h2 {
  font-size: 38px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.contact .section-title p {
  font-size: 18px;
  color: var(--text-color);
  line-height: 1.6;
}

/* Info Section */
.contact .info-wrap {
  background: linear-gradient(135deg, rgba(255, 111, 97, 0.1), rgba(255, 111, 97, 0.15));
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  border-radius: 15px;
  transition: 0.3s ease-in-out;
}

.contact .info-item {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.contact .info-item:hover {
  transform: translateX(10px);
}

/* Info Section Icon Styles */
.contact .info-item i {
  font-size: 28px;
  color: var(--surface-color); /* Icon color initially set to white */
  background: var(--accent-color); /* Background color of the icon */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* On Hover, Change Icon Background & Color */
.contact .info-item:hover i {
  background-color: var(--primary-color); /* Icon background on hover */
  color: var(--contrast-color); /* Icon color on hover (ensure visibility) */
}


.contact .info-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.contact .info-item p {
  color: var(--text-color);
  font-size: 14px;
}

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

/* Form Section */
.contact .php-email-form {
  background: linear-gradient(135deg, rgba(0, 60, 91, 0.1), rgba(0, 60, 91, 0.15));
  padding: 40px;
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  font-size: 16px;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

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

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: var(--placeholder-color);
}

.contact .php-email-form button[type="submit"] {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 15px 40px;
  font-size: 18px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact .php-email-form button[type="submit"]:hover {
  background-color: #ff887c;
  transform: translateY(-5px);
}

/* Map Section Styles */
.contact iframe {
  width: 100%;
  height: 350px;
  border-radius: 15px; /* Rounded corners */
  margin-top: 30px; /* Add spacing above the map */
  border: none;
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1); /* Soft shadow around map */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect for Map */
.contact iframe:hover {
  transform: scale(1.05); /* Slight zoom-in effect on hover */
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2); /* More pronounced shadow on hover */
}

/* Responsive */
@media (max-width: 992px) {
  .contact .row {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .contact .section-title h2 {
    font-size: 30px;
  }

  .contact .php-email-form input,
  .contact .php-email-form textarea {
    font-size: 14px;
  }
}


/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background-color: rgba(100, 100, 255, 0.5);
  border: 2px solid rgba(100, 100, 255, 0.8);
  transition: transform 0.3s ease;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet:hover {
  transform: scale(1.3);
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: rgba(100, 100, 255, 1);
  transform: scale(1.5);
}

.portfolio-details .portfolio-info {
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(100, 100, 255, 0.5);
  color: #333;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #444;
}

.portfolio-details .portfolio-description p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 20px;
  border-left: 4px solid rgba(100, 100, 255, 0.8);
  padding-left: 15px;
}


/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}
#skills {
  background: linear-gradient(to right, #f7f9fc, #ffffff);
  padding: 60px 0;
}

#skills .section-title h2 {
  font-size: 36px;
  color: #333;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

#skills .section-title p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
}

.skills-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.skill-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 450px; /* Increased width */
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.skill-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
}

.skill-header .skill-icon {
  font-size: 24px;
  color: #3498db;
  margin-right: 10px;
}

.progress-bar-wrap {
  background-color: #f1f1f1;
  border-radius: 15px;
  height: 8px; /* Slimmer progress bar */
  width: 100%;
  margin-top: 10px;
}

.progress-bar {
  height: 100%;
  background-color: #3498db;
  border-radius: 15px;
  transition: width 1s ease-in-out;
}

.skill-value {
  font-size: 16px;
  color: #3498db;
  font-weight: bold;
}

@media (max-width: 768px) {
  .skill-card {
    max-width: 100%; /* Full width on smaller screens */
  }
}