/**
* 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 {
  --nav-color: #a8a9b4;  /* 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: #a8a9b4; /* 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;
}

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

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);
}

/* PHP Email Form Messages
------------------------------*/
.hover-lift {
  transition: transform 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-10px);
}

.pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); }
  50% { transform: scale(1.1); }
  100% { transform: scale(0.95); }
}

.vertical-timeline {
  position: relative;
  padding-left: 30px;
}
.timeline-line {
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,215,0,0.3);
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}
.timeline-marker {
  position: absolute;
  left: -30px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid rgba(255,215,0,0.3);
}

/* Tab Styling */
.tab-nav .nav-link {
  color: var(--gold);
  border-color: rgba(255,215,0,0.2);
}
.tab-nav .nav-link.active {
  background: rgba(255,215,0,0.1);
  border-color: var(--gold);
}

/* Achievement Cards */
.achievement-card {
  background: rgba(255,215,0,0.05);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.achievement-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}











/*--------------------------------------------------------------
/* Global Header for Top Nav */
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 10px 15px;
  width: 100%;
  transition: top 0.3s; /* Smooth transition for hiding/showing */
  z-index: 997;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hidden {
  transform: translateY(-100%); /* Move the header out of view */
  transition: transform 0.3s ease-in-out; /* Smooth transition */
}


.navmenu {
  padding: 0;
  z-index: 9997;
  display: flex; /* Add flexbox to display items horizontally */
  justify-content: center; /* Center the items */
  align-items: center; /* Vertically align items */
  width: 100%;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
  display: flex; /* Ensure list items are displayed horizontally */
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 15px 20px; /* Adjust padding for better spacing */
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.3s;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
  font-size: 20px;
  margin-right: 10px;
}

.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, var(--accent-color), transparent 90%);
}

.navmenu a .toggle-dropdown:hover,
.navmenu a:focus .toggle-dropdown:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-hover-color);
}

.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  color: var(--accent-color);
}

.navmenu .active .toggle-dropdown,
.navmenu .active:focus .toggle-dropdown {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}

.navmenu .dropdown {
  display: block;
}

.navmenu .dropdown a,
.navmenu .dropdown a:focus {
  color: --nav-dropdown-color;
}

.navmenu .dropdown a:hover,
.navmenu .dropdown .active,
.navmenu .dropdown .active:focus {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 5px 10px;
  margin: 5px 10px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

.navmenu .dropdown ul ul {
  background-color: rgba(33, 37, 41, 0.1);
}

.navmenu .dropdown>.dropdown-active {
  display: block;
  background-color: rgba(33, 37, 41, 0.03);
}

/* Mobile Navigation (initially hidden) */
@media (max-width: 1199px) {
  /* Header styles */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 10px 20px;
    background-color: var(--background-color);
  }

  /* Mobile nav toggle button */
  .header-toggle {
    display: block;
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 30px;
    cursor: pointer;
    z-index: 10000;
    color:#aaa;
  }

  /* Nav menu styling */
  .navmenu {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 250px;
    background-color: var(--background-color);
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 9998;
    padding-top: 60px; /* Space for top toggle button */
    display: block; /* Keep this block for the mobile view */
  }

  /* Show the nav when 'show-nav' class is added */
  .header.show-nav .navmenu {
    left: 0;
  }

  /* Style the links in the nav menu */
  .navmenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* Stack links vertically in mobile */
  }

  .navmenu a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 500;
    color: var(--nav-color);
    transition: 0.3s;
    text-decoration: none;
  }

  .navmenu a .navicon {
    font-size: 20px;
    margin-right: 10px;
  }

  .navmenu a:hover {
    color: var(--nav-hover-color);
  }

  /* Handle the dropdown menus */
  .navmenu .dropdown {
    position: relative;
  }

  .navmenu .dropdown ul {
    display: none;
    padding: 10px;
    background-color: var(--nav-dropdown-background-color);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  /* Show dropdown on click */
  .navmenu .dropdown.active > ul {
    display: block;
  }

  .navmenu .dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 15px;
  }

  /* Mobile view adjustments for active dropdown */
  .navmenu .dropdown.active > a .toggle-dropdown {
    transform: rotate(180deg);
  }

  /* Style for the toggle dropdown icons */
  .navmenu .dropdown a .toggle-dropdown {
    font-size: 14px;
    color: var(--nav-color);
    transition: transform 0.3s ease;
  }

  /* Closing and opening the side navigation menu */
  .navmenu.show-nav {
    display: block;
  }
}

/* Ensure mobile navigation doesn’t overlap */
@media (max-width: 767px) {
  .header {
    padding: 0px;
  }

  .navmenu {
    padding-top: 70px; /* Space for the toggle button */
  }

  .navmenu ul li {
    width: 100%;
  }

  .navmenu a {
    font-size: 16px;
  }

  .header-toggle {
    font-size: 28px;
  }
}




/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# 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: 50px;
  transition: all 0.4s;
}

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

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  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,
.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;
}
.about-justify{
  text-align: justify;
}
.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
/* General styles for the content section */
/* General styles for the content section */


/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

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

.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;
}

/*--------------------------------------------------------------
# Books Section
--------------------------------------------------------------*/

.books-poem-header {
  text-align: center;
  margin: 40px 0;
}

.books-poem-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
}

.books-poem-container {
  display: flex;
  justify-content: space-between;
  margin: 40px auto;
  max-width: 1000px;
  flex-wrap: wrap;
}

.books-poem-item {
  background: #fff;
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
  border-radius: 25px;
  width: 32%; /* Increased width to make it a little wider */
  margin-bottom: 20px;
  padding: 20px;
  transition: all .3s;
}

.books-poem-item .books-poem-img {
  width: 100%;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
}

.books-poem-item .books-poem-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.books-poem-item .books-poem-content {
  padding-top: 20px;
}

.books-poem-item .books-poem-title {
  font-size: 24px;
  font-weight: 700;
  color: #0d0925;
  margin-top: 10px;
}

.books-poem-item .books-poem-text {
  color: #4e4a67;
  margin-top: 15px;
  line-height: 1.5em;
}

@media screen and (max-width: 992px) {
  .books-poem-item {
    width: 45%; /* Adjusted for wider layout on medium screens */
  }
}

@media screen and (max-width: 768px) {
  .books-poem-item {
    width: 100%; /* Full width for small screens */
    margin-bottom: 30px;
  }

  .books-poem-container {
    flex-direction: column;
  }
}

.buy-button {
  display: inline-flex;
  background-color: #149ddd;
  padding: 15px 35px;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-top: 20px;
  justify-content: center;
  text-align: center;
  letter-spacing: 1px;
}
.buy-button:hover{
  color: #000408;
}
.books-content h2 {
  font-weight: bold;
  position: relative;
  
  font-size: 42px;
  margin-bottom: 20px;

}
.buy-copy:after {
  content: "";
  position: absolute;
  
  display: block;
  width: 100px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: -10px;
}
.view-more{
  display: inline-flex;
  background-color: var(--accent-color);
  padding: 15px 35px;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-top: 20px;
  justify-content: center;
  text-align: center;
  letter-spacing: 1px;
  
}
.view-more:hover{
  color: #fff;
}
/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.Bibliography .Bibliography-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.Bibliography .Bibliography-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.Bibliography.Bibliography-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.Bibliography .Bibliography-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.rBibliography .Bibliography-item ul {
  padding-left: 20px;
}

.Bibliography .Bibliography-item ul li {
  padding-bottom: 10px;
}

.Bibliography .Bibliography-item:last-child {
  padding-bottom: 0;
}
.Bibliography h2{
  font-weight: bold;
  font-size: 32px;
}

.Bibliography .Bibliography-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}
.Bibliography-item h4{
  font-weight: bold;
}
@media (max-width: 768px) {
  .Bibliography-item {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/*--------------------------------------------------------------
# Blog Section
--------------------------------------------------------------*/



/*--------------------------------------------------------------
# Blog Section
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# newsletter Section
--------------------------------------------------------------*/
.newsletter-container {
  display: flex;
  justify-content: space-between;
  margin: 40px auto;
  max-width: 1000px;
  flex-wrap: wrap;
}

.newsletter-item {
  background: #fff;
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
  border-radius: 25px;
  width: 32%; /* Increased width to make it a little wider */
  margin-bottom: 20px;
  padding: 20px;
  transition: all .3s;
}

.newsletter-item .newsletter-img {
  width: 100%;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
}

.newsletter-item .newsletter-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newsletter-item .newsletter-content {
  padding-top: 20px;
}

.newsletter-item .newsletter-date {
  color: #7b7992;
  font-weight: 500;
}

.newsletter-item .newsletter-title {
  font-size: 24px;
  font-weight: 700;
  color: #0d0925;
  margin-top: 10px;
}

.newsletter-item .newsletter-text {
  color: #4e4a67;
  margin-top: 15px;
  line-height: 1.5em;
}



@media screen and (max-width: 992px) {
  .newsletter-item {
    width: 45%; /* Adjusted for wider layout on medium screens */
  }
}

@media screen and (max-width: 768px) {
  .newsletter-item {
    width: 100%; /* Full width for small screens */
    margin-bottom: 30px;
  }

  .newsletter-container {
    flex-direction: column;
  }
}
/*--------------------------------------------------------------
#news letter Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Services Section

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

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

.contact .info-item {
  margin-bottom: 40px;
}

.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;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.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;
}

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

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

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

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

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

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

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

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

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


.text-justify{
  text-align: justify;
}

.hero {
  background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(0,0,0,0.7));
}
.profile-frame {
  transform: perspective(1500px) rotateY(15deg);
  border: 3px solid rgba(255,255,255,0.1);
  transition: transform 0.5s ease;
  min-height: 400px; /* Fallback for older browsers */
}

.profile-frame img {
  width: 100%;
  height: 100%;
  object-position: center center;
}

/* Modern aspect-ratio fallback */
@supports not (aspect-ratio: 1/1) {
  .profile-frame::before {
      content: '';
      display: block;
      padding-top: 100%;
  }
  .profile-frame img {
      position: absolute;
      top: 0;
      left: 0;
  }
}

.decorative-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
      transparent 0%, 
      rgba(255,193,7,0.1) 50%, 
      transparent 100%);
  pointer-events: none;
}

.typed-container {
  border-left: 3px solid var(--bs-warning);
  padding-left: 1rem;
}
.loading {
  display: none !important;
}


.works-section {
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
  background: linear-gradient(45deg, #FFD700, #FFEC8B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.category-card {
  display: block;
  height: 280px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.card-inner {
  position: relative;
  height: 100%;
  background: rgba(255, 215, 0, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.card-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(600px circle at var(--x) var(--y), 
              rgba(255, 215, 0, 0.1),
              transparent 40%);
  opacity: 0;
  transition: opacity 0.4s;
}

.category-card:hover .card-bg {
  opacity: 1;
}

.card-content {
  position: relative;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.icon-wrapper {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.category-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  transition: transform 0.3s;
}

.hover-content {
  position: absolute;
  bottom: -50px;
  width: 100%;
  padding: 1rem;
  background: rgba(255, 215, 0, 0.1);
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-card:hover .hover-content {
  bottom: 0;
}

.explore-link {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
}

.bi-arrow-right {
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.category-card:hover .bi-arrow-right {
  transform: translateX(4px);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border: 2px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  text-decoration: none;
}

.cta-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gold);
  left: 0;
  top: 0;
  transform: translateX(-100%);
  transition: transform 0.4s;
  z-index: -1;
}

.cta-btn:hover {
  color: var(--dark-bg);
}

.cta-btn:hover .cta-hover {
  transform: translateX(0);
}

@media (max-width: 768px) {
  .category-card {
      height: 220px;
  }
  
  .section-title {
      font-size: 2rem;
  }
}
.contact-form .dark-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: #fff;
  padding: 1rem;
  transition: all 0.3s ease;
}

.contact-form .dark-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.btn-gold {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 1rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: var(--gold);
  color: var(--dark-bg);
}

.gold-link {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.gold-link:hover {
  opacity: 0.8;
  color: var(--gold);
}

.info-card {
  background: rgba(255, 215, 0, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.05);
}

.map-container {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
}

.border-gold {
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.loading, .error-message, .sent-message {
  display: none !important;
  padding: 15px;
  margin: 10px 0;
  border-radius: 4px;
}

.loading {
  color: var(--gold);
}

.error-message {
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
}

.sent-message {
  color: #28a745;
  background: rgba(40, 167, 69, 0.1);
}

.d-block {
  display: block !important;
}



.dark-background {
  background: #1a1a1a;
  color: #ffffff;
}


.white-text {
  color: #ffffff;
}

.gold-link {
  color: #FFD700;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.gold-link:hover {
  opacity: 0.8;
  color: #FFD700;
}

/* Form Styling */
.dark-input {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 215, 0, 0.2) !important;
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.dark-input:focus {
  border-color: #FFD700 !important;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.btn-gold {
  background: rgba(255, 215, 0, 0.1);
  color: #FFD700;
  border: 2px solid #FFD700;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: #FFD700;
  color: #1a1a1a;
  transform: translateY(-2px);
}

/* Info Items */
.info-item {
  background: rgba(255, 215, 0, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.info-item:hover {
  transform: translateY(-3px);
}

.gold-icon {
  color: #FFD700;
  font-size: 1.5rem;
  margin-right: 1rem;
}

/* Messages */
.loading, 
.error-message, 
.sent-message {
  display: none;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 8px;
  position: absolute;
  width: 100%;
  top: -50px;
}

.loading {
  color: #FFD700;
  background: rgba(255, 215, 0, 0.1);
}

.error-message {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
}

.sent-message {
  color: #69db7c;
  background: rgba(105, 219, 124, 0.1);
}

.map-container {
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

.message-container {
  margin: 1rem 0;
}

.message-box {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  padding: 1rem 2.5rem 1rem 1.5rem;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(5px);
  animation: slideDown 0.3s ease-out;
  z-index: 2;
}

.loading {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #FFD700;
}

.error-message {
  background: rgba(255, 107, 107, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
}

.sent-message {
  background: rgba(105, 219, 124, 0.15);
  border: 1px solid rgba(105, 219, 124, 0.3);
  color: #69db7c;
}

.close-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0 0.5rem;
  font-size: 1.5rem;
  line-height: 1;
  transition: opacity 0.2s;
}

.close-btn:hover {
  opacity: 0.8;
}

@keyframes slideDown {
  from {
      opacity: 0;
      transform: translate(-50%, -10px);
  }
  to {
      opacity: 1;
      transform: translate(-50%, 0);
  }
}

.footer {
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  background: var(--dark-bg);
  z-index: 100;
}

.gold-heart {
  color: var(--gold);
  display: inline-block;
  margin: 0 4px;
}

.footer-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.footer-link:hover {
  color: var(--gold);
  opacity: 0.9;
  text-decoration: underline;
}

.credits {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .footer {
      padding: 1.5rem 0;
  }
  
  .credits {
      font-size: 0.8rem;
  }
}

.gold-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 215, 0, 0.5);
}

.work-image {
  height: 300px;
  transition: transform 0.3s ease;
}

.hover-scale:hover .work-image {
  transform: scale(1.05);
}

.gradient-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
}

.border-gold {
  border: 1px solid rgba(255, 215, 0, 0.2) !important;
}

.bg-dark-soft {
  background: rgba(255, 255, 255, 0.05);
}

.btn-gold {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold);
  border: 1px solid var(--gold);
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: var(--gold);
  color: var(--dark-bg);
}

.gold-breadcrumb .breadcrumb-item.active {
  color: var(--gold);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .work-image {
      height: 200px;
  }
  
  .display-4 {
      font-size: 2rem;
  }
}
.loading {
  display: none !important;
}


.info-card {
  border-radius: 0.75rem;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.timeline {
  list-style: none;
  padding: 0;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  background: #0d6efd;
  border-radius: 50%;
}

.badge {
  font-size: 0.9rem;
  padding: 0.5em 0.8em;
}

.achievement-item {
  padding: 1rem;
  background: rgba(13, 110, 253, 0.05);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.timeline-wrapper {
  position: relative;
  padding: 2rem;
}

.timeline-rail {
  position: relative;
  margin-left: 30px;
}

.timeline-progress {
  position: absolute;
  left: -15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255,215,0,0.1);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 3rem;
}

.timeline-marker {
  position: absolute;
  left: -25px;
  top: 5px;
  width: 20px;
  height: 20px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: var(--dark-bg);
}

/* Creative Works Cards */
.creative-card {
  background: rgba(255,215,0,0.03);
  border: 1px solid rgba(255,215,0,0.1);
}

.work-item {
  padding: 2rem;
  background: rgba(255,255,255,0.05);
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.work-item:hover {
  transform: translateY(-5px);
}

.highlight-box {
  padding: 2rem;
  border-left: 3px solid var(--gold);
  background: rgba(255,215,0,0.05);
}

/* Awards Grid */
.awards-grid {
  position: relative;
  z-index: 1;
}

.award-card {
  padding: 2rem;
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.award-card:hover {
  background: rgba(255,215,0,0.05);
}

.award-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Decorative Elements */
.decorative-line {
  width: 100px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto;
}

.quote-marker {
  font-size: 4rem;
  line-height: 1;
  text-align: center;
  margin-bottom: -2rem;
}



:root {
  --gold: #FFD700;
  --dark-bg: #1A1A1A;
  --light-gold: rgba(255, 215, 0, 0.1);
}



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

.white-text {
  color: #FFFFFF !important;
  opacity: 0.95;
}

.gold-muted {
  color: rgba(255, 215, 0, 0.85) !important;
}

.timeline-card {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.timeline-marker {
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  left: -7px;
  top: 0;
  box-shadow: 0 0 8px var(--gold);
}

.bio-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,215,0,0.1);
  transition: all 0.3s ease;
}

.bio-card:hover {
  border-color: var(--gold);
  background: rgba(255,215,0,0.05);
}

.award-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,0,0.1);
  transition: transform 0.3s ease;
}

.award-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.award-icon {
  font-size: 2rem;
  color: var(--gold);
}

.highlight-quote {
  border-left: 3px solid var(--gold);
  background: rgba(255,215,0,0.05);
  padding: 1.5rem !important;
}

ul.gold-muted li {
  margin-bottom: 0.5rem;
}

.small {
  font-size: 0.9em;
}


.timeline-card {
  background: rgba(255, 215, 0, 0.05);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.timeline-marker {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 5px;
}

.bio-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
}

.bio-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.achievement-card {
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-5px);
}

.achievement-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.family-member {
  background: rgba(255, 215, 0, 0.05);
  padding: 1rem;
  border-radius: 8px;
}

.gold-badge {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold) !important;
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.career-path {
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
}

.career-step {
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1.5rem;
}

.career-step::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
}

.info-card {
  background: rgba(255, 215, 0, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
