/**
* Template Name: Kelly
* Template URL: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/
* Updated: Aug 07 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:#F8F9FA; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #222222; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #34b7a7; /* 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: #444444;  /* The default color of the main navmenu links */
  --nav-hover-color: #34b7a7; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #34b7a7; /* 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: #e9e8e6;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --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
------------------------------*/
.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);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color:#f8f9fa;
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
  
}

.header .logo {
  line-height: 1;
  position: absolute;
  left: 0;
  z-index: 10;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--heading-color);
}

.header .header-social-links {
  padding-right: 15px;
  position: absolute;
  right: 0;
  z-index: 10;
}

.header .header-social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding-left: 6px;
  display: inline-block;
  transition: 0.3s;
  font-size: 16px;
}

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

.header .header-social-links a i {
  line-height: 0px;
}

@media (max-width: 1200px) {
  .header .container-fluid {
    justify-content: space-between;
  }
  
  .header .logo {
    order: 1;
    position: static;
  }

  .header .header-social-links {
    order: 2;
    position: static;
  }

  .header .navmenu {
    order: 3;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

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

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #aaa;
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 25px;
  }

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

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

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

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {

   .header {
    width: 100%;
    padding: 15px 0;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  }
  .header .container-fluid {
    width: 100%;
    margin: 0;
    padding: 0 15px;
  }
  .mobile-nav-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

   .navbar {
    width: 100%;
    left: 0;
    padding: 10px 15px;
    background: #fff;
  }
    .navbar-mobile {
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    transition: 0.3s;
    z-index: 999;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

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

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

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

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    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-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
}

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

.footer .social-links {
  margin-top: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin: 0 5px;
  transition: 0.3s;
}

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

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

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

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# 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;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

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

.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;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  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;
  right: 0;
  bottom: 0;
  margin: auto;
}

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

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

@media (max-width: 1200px) {
  .hero {
    min-height: calc(100vh - 68px);
  }
}

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

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

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

.hero p {
  margin: 10px 0 0 0;
  font-size: 24px;
  color: var(--heading-color);
}
.hero .btn-get-contact {
  color: var(--contrast-color);
  background:#444444;
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin-top: 30px;
}
.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin-top: 30px;
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 20%);
}

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

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

  /* Keep subject visible on small screens */
  .hero img {
    object-position: left center;
  }
}
/* Mobile specific styles */
@media (max-width: 768px) {
  .header {
    background-color:#E0FFFF;  /* Change this to your desired color */
    transition: background-color 0.3s ease;
  }

  .header .logo h1 span {
    color: #1d1c1c;  /* Change logo text color for better contrast */
  }

  #navmenu ul li a {
    color: #161616;  /* Change nav links color for better contrast */
  }

  .mobile-nav-toggle {
    color: #181818;  /* Change hamburger menu color */
  }
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

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

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

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--accent-color);
}

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

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 48px;
  display: block;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.stats .stats-item span:after {
  content: "";
  position: absolute;
  display: block;
  width: 25px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 500;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

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

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

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

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

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

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

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

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

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

.resume .resume-item:last-child {
  padding-bottom: 0;
}

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

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 60px 30px;
  text-align: center;
  transition: 0.3s;
  border-radius: 5px;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.services .service-item .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

.services .service-item .icon svg {
  position: absolute;
  top: 0;
  left: 0;
}

.services .service-item .icon svg path {
  transition: 0.5s;
  fill: color-mix(in srgb, var(--default-color), transparent 95%);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  box-shadow: 0px 5px 35px 0px rgba(0, 0, 0, 0.1);
}

.services .service-item.item-cyan i {
  color: #0dcaf0;
}

.services .service-item.item-cyan:hover .icon i {
  color: #fff;
}

.services .service-item.item-cyan:hover .icon path {
  fill: #0dcaf0;
}

.services .service-item.item-orange i {
  color: #fd7e14;
}

.services .service-item.item-orange:hover .icon i {
  color: #fff;
}

.services .service-item.item-orange:hover .icon path {
  fill: #fd7e14;
}

.services .service-item.item-teal i {
  color: #20c997;
}

.services .service-item.item-teal:hover .icon i {
  color: #fff;
}

.services .service-item.item-teal:hover .icon path {
  fill: #20c997;
}

.services .service-item.item-red i {
  color: #df1529;
}

.services .service-item.item-red:hover .icon i {
  color: #fff;
}

.services .service-item.item-red:hover .icon path {
  fill: #df1529;
}

.services .service-item.item-indigo i {
  color: #6610f2;
}

.services .service-item.item-indigo:hover .icon i {
  color: #fff;
}

.services .service-item.item-indigo:hover .icon path {
  fill: #6610f2;
}

.services .service-item.item-pink i {
  color: #f3268c;
}

.services .service-item.item-pink:hover .icon i {
  color: #fff;
}

.services .service-item.item-pink:hover .icon path {
  fill: #f3268c;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--surface-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
/* Portfolio Details Section */
.portfolio-details {
  padding: 60px 0;
  background-color: #f8f9fa;
}

/* Add spacing between project sections */
.portfolio-details .container {
  max-width: 1200px;
  margin: 0 auto 80px auto;
  padding: 40px 15px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.portfolio-details .container:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.portfolio-details .container:last-child {
  margin-bottom: 0;
}

/* Main container for the entire portfolio section */
.portfolio-details .portfolio-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Image section takes full width */
.portfolio-details .portfolio-image-section {
  width: 100%;
}

/* Content section with side-by-side layout */
.portfolio-details .portfolio-content-section {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.portfolio-details .portfolio-info-wrapper {
  flex: 0 0 35%;
  max-width: 35%;
}

.portfolio-details .portfolio-description-wrapper {
  flex: 1;
  min-width: 0; /* Prevents flex item from growing beyond container */
}

/* Portfolio Image Slider */
.portfolio-details .portfolio-details-slider {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  position: relative;
  width: 100%;
  height: 600px; /* Increased height for better visibility */
  border: 2px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.portfolio-details .portfolio-details-slider:hover {
  border-color: rgba(52, 183, 167, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-details .portfolio-details-slider .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa; /* Background for slides */
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
  height: 600px; /* Increased height to match container */
  object-fit: contain; /* Changed from cover to contain to fit entire image */
  object-position: center; /* Centers the image */
  display: block;
  transition: transform 0.3s ease;
  background-color: #f8f9fa; /* Light background for transparent areas */
  padding: 20px; /* Add padding around images */
}

.portfolio-details .portfolio-details-slider img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}


.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
  text-align: center;
  padding: 0 20px 20px;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(108, 117, 125, 0.3);
  opacity: 1;
  margin: 0 4px;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #007bff;
  transform: scale(1.2);
}

/* Portfolio Info Card */
.portfolio-details .portfolio-info {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 0; /* Remove bottom margin since we're side by side */
  height: fit-content; /* Allow natural height */
}

.portfolio-details .portfolio-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9ecef;
  color: #2c3e50;
  position: relative;
}

.portfolio-details .portfolio-info h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #007bff;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.portfolio-details .portfolio-info ul li {
  font-size: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #f8f9fa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio-details .portfolio-info ul li:last-child {
  border-bottom: none;
}

.portfolio-details .portfolio-info ul li strong {
  color: #2c3e50;
  font-weight: 600;
  min-width: 80px;
}

.portfolio-details .portfolio-info ul li span {
  color: #6c757d;
  text-align: right;
  flex: 1;
  margin-left: 15px;
}

/* Status Badge */
.portfolio-details .portfolio-info ul li .status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-details .portfolio-info ul li .status-badge.completed {
  background-color: #d4edda;
  color: #155724;
}

.portfolio-details .portfolio-info ul li .status-badge.in-progress {
  background-color: #fff3cd;
  color: #856404;
}

.portfolio-details .portfolio-info ul li .status-badge.pending {
  background-color: #f8d7da;
  color: #721c24;
}

/* Portfolio Description */
.portfolio-details .portfolio-description {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 0; /* Remove top margin since we're side by side */
  height: fit-content; /* Allow natural height */
}

.portfolio-details .portfolio-description h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #2c3e50;
  line-height: 1.3;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: #6c757d;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  /* Stack content vertically on tablets and mobile */
  .portfolio-details .portfolio-content-section {
    flex-direction: column;
  }
  
  .portfolio-details .portfolio-info-wrapper,
  .portfolio-details .portfolio-description-wrapper {
    flex: none;
    max-width: 100%;
  }
  
  .portfolio-details .portfolio-info {
    margin-bottom: 30px;
  }
  
  .portfolio-details .portfolio-details-slider {
    height: 450px; /* Increased height for tablets */
  }
  
  .portfolio-details .portfolio-details-slider img {
    height: 450px;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 15px;
  }
  
  /* Adjust spacing for tablets */
  .portfolio-details .container {
    margin-bottom: 60px;
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .portfolio-details {
    padding: 40px 0;
  }
  
  .portfolio-details .portfolio-container {
    gap: 20px;
  }
  
  .portfolio-details .portfolio-content-section {
    gap: 20px;
  }
  
  .portfolio-details .portfolio-info,
  .portfolio-details .portfolio-description {
    padding: 25px;
  }
  
  .portfolio-details .portfolio-details-slider {
    height: 350px; /* Increased height for mobile */
  }
  
  .portfolio-details .portfolio-details-slider img {
    height: 350px;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 10px;
  }
  
  .portfolio-details .portfolio-info h3 {
    font-size: 20px;
  }
  
  .portfolio-details .portfolio-description h2 {
    font-size: 24px;
  }
  
  .portfolio-details .portfolio-info ul li {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .portfolio-details .portfolio-info ul li span {
    text-align: left;
    margin-left: 0;
    margin-top: 5px;
  }
  
  /* Adjust spacing for mobile */
  .portfolio-details .container {
    margin-bottom: 50px;
    padding: 25px 15px;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .portfolio-details .container {
    padding: 20px 10px;
    margin-bottom: 40px;
    border-radius: 8px;
  }
  
  .portfolio-details .portfolio-info,
  .portfolio-details .portfolio-description {
    padding: 20px;
  }
  
  .portfolio-details .portfolio-details-slider {
    height: 300px; /* Increased height for small mobile */
  }
  
  .portfolio-details .portfolio-details-slider img {
    height: 300px;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 8px;
  }
}

/* Additional Professional Enhancements */
.portfolio-details .portfolio-tags {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.portfolio-details .portfolio-tags .tag {
  display: inline-block;
  background-color: #f8f9fa;
  color: #6c757d;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin: 4px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.portfolio-details .portfolio-tags .tag:hover {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

/* Loading Animation */
.portfolio-details .portfolio-details-slider.loading {
  position: relative;
}

.portfolio-details .portfolio-details-slider.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
/* Contact Section Styles */
.contact {
  padding: 80px 0;
  background: #F8F9FA;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(52, 152, 219, 0.1)"><animate attributeName="cy" values="20;80;20" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="80" r="3" fill="rgba(155, 89, 182, 0.1)"><animate attributeName="cx" values="80;20;80" dur="4s" repeatCount="indefinite"/></circle></svg>');
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.contact .container {
  max-width: 1100px;
  position: relative;
  z-index: 1;
}

.contact .section-title {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInUp 1s ease-out;
}

.contact .section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  position: relative;
}

.contact .section-title h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  border-radius: 2px;
  animation: expand 1.5s ease-out;
}

@keyframes expand {
  0% { width: 0; }
  100% { width: 50px; }
}

.contact .section-title p {
  font-size: 1.1rem;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
}

.contact .info-wrap {
  padding: 0;
  animation: slideInLeft 1s ease-out;
}

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

.contact .info-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  padding: 20px 0;
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact .info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s;
}

.contact .info-item:hover::before {
  left: 100%;
}

.contact .info-item:hover {
  transform: translateX(5px);
  border-bottom-color: rgba(46, 204, 113, 0.3);
}

.contact .info-item i {
  font-size: 28px;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  margin-right: 25px;
  flex-shrink: 0;
}

.contact .info-item:hover i {
  transform: scale(1.05);
}

.contact .info-item h3 {
  padding: 0;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.contact .info-item:hover h3 {
  color: #3498db;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 1.1rem;
  color: #7f8c8d;
  transition: color 0.3s ease;
}

.contact .info-item:hover p {
  color: #34495e;
}

.contact .info-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: color 0.3s ease;
}

.contact .info-item a:hover {
  color: #3498db;
}



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


/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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


/* Responsive Design */
@media (max-width: 768px) {
  .contact {
    padding: 60px 0;
  }
  
  .contact .section-title h2 {
    font-size: 2rem;
  }
  
  .contact .info-item {
    flex-direction: column;
    text-align: center;
    padding: 15px 0;
    margin-bottom: 30px;
  }
  
  .contact .info-item i {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .contact .info-wrap {
    padding: 0;
  }
  
  .contact .php-email-form {
    padding: 25px 15px;
  }
  
  .contact .section-title {
    margin-bottom: 30px;
  }
}

/* Starter Section styles can be added here if needed */

/* Ensure full page fit */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Additional cool effects for portfolio contact */
.contact .info-item:nth-child(1) { animation-delay: 0.1s; }
.contact .info-item:nth-child(2) { animation-delay: 0.2s; }
.contact .info-item:nth-child(3) { animation-delay: 0.3s; }

.contact .info-item {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.contact .info-item:nth-child(1) { animation-delay: 0.2s; }
.contact .info-item:nth-child(2) { animation-delay: 0.4s; }
.contact .info-item:nth-child(3) { animation-delay: 0.6s; }
.view-desktop-toggle {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: none; /* Hidden by default */
}

.btn-desktop-toggle {
  padding: 8px 15px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-desktop-toggle:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

/* Only show the button on mobile devices */
@media (max-width: 1199px) {
  .view-desktop-toggle {
    display: block;
  }
}

/* Update the skill-box styles in your main.css */
.skill-icon {
  display: contents;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(52, 183, 167, 0.1);
}

.skill-icon i {
  font-size: 20px;
  color: #34b7a7;
  transition: all 0.3s ease;
  align-items: end;
}

.skill-box:hover .skill-icon {
  background: #1c1c1c;
}

.skill-box:hover .skill-icon i {
  color: white;
  transform: scale(1.1);
}
/*--------------------------------------------------------------
# My Skills
--------------------------------------------------------------*/
.skills {
  padding: 60px 0;
  background-color: #f8f9fa; /* Light background for the section */
}

.skills .section-title p {
  font-size: 1 rem;
  color: #555;
  text-align: center;
  max-width: 800px;
  margin: auto;
}

.skills .row.gy-4 {
  margin-top: 30px;
}

/* Skill Box Styling
  This is the main block that holds the dark-themed styling.
*/
.skill-box {
   height: 165px;  /* Keep existing height */
  width: 300px;  /* Make width same as height for square */
  background-color: #ffffff;
  padding: 20px;  /* Reduce padding to fit content */
  border-radius: 10px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;  /* Center in column */
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
/* Adjust text size to fit smaller container */
.skill-box h5, .skill-box h6 {
  font-size: 0.9rem;
  margin-bottom: 10px;
}
/* Skill Box Hover Effect */
.skill-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Skill Box Title Styling
*/
.skill-box h3 {
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.skill-box h3 a {
  color: #414141;
  text-decoration: none;
  transition: color 0.3s ease;
}

.skill-box h3 a:hover {
  color: #000000; /* Accent color on hover */
}

/* Skill Content Area
*/
.skill-box .skill-content {
  /* This div contains the 'Read More' button */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: auto; /* Pushes the content to the bottom of the box */
}

/* 'Read More' Button Styling
*/
.learn-more-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.learn-more-btn span {
  font-weight: 600;
}

.learn-more-btn:hover {
  transform: translateX(5px);
  color: #34b7a7; /* Accent color on hover */
}

.learn-more-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

/*
  Since the HTML you provided has no <p> tags, 
  this CSS will be ready to work if you add them later.
*/
.skill-box .skill-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px; /* Space between text and button */
}
.logo-container {
  width: 30px;  /* Reduced size for better proportion */
  height: 50px;
  overflow: hidden;
  border-radius: 50%;  /* Make it perfectly round */
  border: 2px solid var(--nav-color);  /* Add a subtle border */
  display: flex;
  align-items: stretch;  /* Center vertically */
  justify-content: center;  /* Center horizontally */
  margin-right: 3px;
  background: #fff; 
}

.rounded-logo {
   width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Update existing logo styles */
.header .logo {
 display: flex;
  align-items: center;
  padding: 0 15px;
  position: relative;
  z-index: 100;
}

@media (max-width: 768px) {
  .logo-container {
    width: 35px;  /* Slightly smaller on mobile */
    height: 35px;
    margin-right: 10px;
  }
}
.hero-section {
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.text-content {
  flex: 1;
}

.text-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #333;
}

.text-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #20b2aa;
}

.image-container {
  position: relative;
  width: 350px;  /* Reduced from original size */
  height: 350px;  /* Reduced from original size */
  margin-left: auto;
}

.circular-frame {
  width: 280px;  /* Reduced from original size */
  height: 280px;  /* Reduced from original size */
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #20b2aa;
  position: relative;
  z-index: 2;
}
.circular-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.decorative-circle {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 300px;  /* Reduced from original size */
  height: 300px;  /* Reduced from original size */
  border: 2px dashed #20b2aa;
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}
.cta-buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.btn-resume, .btn-contact {
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-resume {
  background-color: #20b2aa;
  color: white;
}

.btn-contact {
  background-color: #333;
  color: white;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    align-items: center;
    padding: 0 20px;
  }

  .image-container {
  width: 250px;
  height: 250px;
  position: relative;
  margin: 0 auto 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circular-frame {
  width: 230px;
  height: 230px;
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #20b2aa;
  z-index: 2;
}

.decorative-circle {
  width: 250px;
  height: 250px;
  position: absolute;
  border: 2px dashed #20b2aa;
  border-radius: 50%;
  animation: rotate 20s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
  .text-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
  }

  .btn-resume {
    margin: 0 auto;
    display: inline-block;
  }
}
.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: #34b7a7;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  background: #3cc3b4;
  transform: translateX(5px);
}

.learn-more-btn i {
  transition: transform 0.3s ease;
}

.learn-more-btn:hover i {
  transform: translateX(5px);
}

#navmenu ul li a {
  padding: 10px 15px; /* Add padding to make the background visible */
  border-radius: 10px; /* Optional: adds rounded corners to the background */
  transition: background-color 0.3s ease; /* Smooth transition on hover */
}

#navmenu ul li:nth-child(1) a { /* Targets the "Home" link */
  background-color: #20b2aa; /* Alice Blue */
}

#navmenu ul li:nth-child(2) a { /* Targets the "Skills" link */
  background-color:#20b2aa ; /* Lavender */
}

#navmenu ul li:nth-child(3) a { /* Targets the "Projects" link */
  background-color: #20b2aa; /* Mint Cream */
}

#navmenu ul li:nth-child(4) a { /* Targets the "Let's Talk" link */
  background-color:#20b2aa; /* Lavender Blush */
}

@media (max-width: 768px){
  #navmenu ul li a {
  padding: 10px 15px; /* Add padding to make the background visible */
  border-radius: 0cap; /* Optional: adds rounded corners to the background */
  transition: background-color 0.3s ease; /* Smooth transition on hover */
}

#navmenu ul li:nth-child(1) a { /* Targets the "Home" link */
  background-color: #E0FFFF; /* Alice Blue */
}

#navmenu ul li:nth-child(2) a { /* Targets the "Skills" link */
  background-color:#AFEEEE ; /* Lavender */
}

#navmenu ul li:nth-child(3) a { /* Targets the "Projects" link */
  background-color: #ADD8E6; /* Mint Cream */
}

#navmenu ul li:nth-child(4) a { /* Targets the "Let's Talk" link */
  background-color:#E0FFFF; /* Lavender Blush */
}

}

.header .container-fluid {
  display: flex;
  justify-content: space-between; /* Creates space between logo and nav */
  align-items: center;
  padding: 0 30px;
  position: relative;
}

.navmenu {
  margin-left: auto; /* Pushes nav to the right */
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .header .container-fluid {
    padding: 0 15px;
  }
  
  .navmenu ul {
    gap: 15px;
  }
}

/* Ongoing Projects Section */
.ongoing-projects {
  position: relative;
  background: #f8f9fa;
  padding: 40px 0;
}

.ongoing-projects .section-title h2 {
  color: #2c3e50;
  position: relative;
  display: inline-block;
}

.ongoing-projects .section-title h2::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  bottom: -10px;
  left: 20%;
  border-radius: 2px;
}

.ongoing-card {
  position: relative;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.ongoing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.ongoing-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.ongoing-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ongoing-card:hover img {
  transform: scale(1.05);
}

.ongoing-info {
  padding: 20px;
}

.ongoing-info h4 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 600;
}

.ongoing-info p {
  color: #7f8c8d;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.ongoing-info .progress {
  height: 8px;
  background-color: #ecf0f1;
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}

.ongoing-info .progress-bar {
  background: linear-gradient(90deg, #3498db, #2ecc71);
  border-radius: 4px;
  transition: width 0.6s ease;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.ongoing-details {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: #7f8c8d;
}

.ongoing-details i {
  margin-right: 5px;
  color: #3498db;
}

.ongoing-info .details-link {
  display: inline-flex;
  align-items: center;
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.ongoing-info .details-link:hover {
  color: #2ecc71;
}

.ongoing-info .details-link i {
  margin-right: 5px;
}

/* Animation for ongoing projects section */
.ongoing-item {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.ongoing-item:nth-child(1) { animation-delay: 0.1s; }
.ongoing-item:nth-child(2) { animation-delay: 0.2s; }
.ongoing-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ongoing-projects {
    padding: 60px 0;
  }
  
  .ongoing-card {
    margin-bottom: 30px;
  }
}