body {
  font-family: 'Open Sans', serif;
  padding-top: 54px;
  color: #343a40;
  background: #f9f9f9;
}

/* Simple Loading Screen Styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
}

#loading-screen.loaded {
    opacity: 0;
    pointer-events: none;
}

.loader-container {
    text-align: center;
    max-width: 500px;
    width: 90%;
}

/* Simple Logo */
.loader-logo {
    margin-bottom: 20px;
}

.logo-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Simple Name */
.loader-name {
    margin-bottom: 30px;
}

.loader-name h2 {
    font-family: 'Saira Extra Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #045388;
    margin: 0;
    letter-spacing: 1px;
}

/* Simple Progress Bar */
.loader-progress {
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #e7f1f8;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: #045388;
    width: 0%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-message {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #343a40;
    margin: 0;
    font-weight: 400;
}

/* Simple Progress Animation */
@keyframes progressLoad {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .logo-image {
        width: 60px;
        height: 60px;
    }
    
    .loader-name h2 {
        font-size: 1.7rem;
    }
    
    .progress-message {
        font-size: 0.85rem;
    }
}

/* Prevent image dragging and selection */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}
  
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Saira Extra Condensed', serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #343a40;
}

.lower {
  text-transform: lowercase;
}
  
h1 {
  font-size: 5rem;
  line-height: 5.5rem;
}
  
h2 {
  font-size: 3.5rem;
}
  
.subheading {
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Saira Extra Condensed', serif;
  font-size: 1.35rem;
}
  
.subheading a {
  text-transform: lowercase;
}

.list-social-icons {
  margin-top: 5px;
  margin-left: -5px;
}
  
.list-social-icons a {
  color: #2a2e31;
}
  
.list-social-icons a:hover {
  color: #5a626b;
}
  
.list-social-icons a .fa-lg {
  font-size: 1.75rem;
}
  
.list-icons {
  font-size: 3rem;
}
  
.list-icons .list-inline-item i:hover {
  color: #2471A3;
}
  
#sideNav .navbar-nav .nav-item .nav-link {
  font-weight: 600;
  text-transform: uppercase;
}

/* Navbar before-after effect Starts */

/* Navbar Background and Styling */
.navbar {
  background: linear-gradient(135deg, #045388, #0e3a53);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for Navbar links */
.navbar .navbar-nav .nav-item a {
  text-decoration: none;
  position: relative;
  display: block;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 5px 10px;
  margin: 5px 0;
  border-radius: 5px;
  background: transparent;
  color: #f3f6f8;
  transition: all 0.3s ease; 
}

/* Ensure hover and active links don't change size */
.navbar .navbar-nav .nav-item a:hover,
.navbar .navbar-nav .nav-item a:focus,
.navbar .navbar-nav .nav-item a.active {
  font-weight: 600; /* Match the default font weight */
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  outline: none;
}

/* Before/After Effect for Navbar Links */
.navbar .navbar-nav .nav-item a:before,
.navbar .navbar-nav .nav-item a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
}

/* Top Line */
.navbar .navbar-nav .nav-item a:before {
  top: 0;
  left: 0;
}

/* Bottom Line */
.navbar .navbar-nav .nav-item a:after {
  bottom: 0;
  right: 0;
}

/* Left Line */
.navbar .navbar-nav .nav-item a .left-line {
  content: '';
  position: absolute;
  width: 2px;
  height: 0;
  background-color: #ffffff;
  top: 0;
  left: 0;
  transition: height 0.4s ease-in-out;
}

/* Right Line */
.navbar .navbar-nav .nav-item a .right-line {
  content: '';
  position: absolute;
  width: 2px;
  height: 0;
  background-color: #ffffff;
  bottom: 0;
  right: 0;
  transition: height 0.4s ease-in-out;
}

/* Expand top and bottom line */
.navbar .navbar-nav .nav-item a:hover:before,
.navbar .navbar-nav .nav-item a:hover:after {
  width: 10%;
}

/* Extend left and right line */
.navbar .navbar-nav .nav-item a:hover .left-line,
.navbar .navbar-nav .nav-item a:hover .right-line {
  height: 50%;
}

/* Mobile Logo with Name Styling */

.mobile-logo-with-name {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 0;
}

.mobile-logo-image-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    background-image: url('../images/logo.png');
    background-size: 30px 30px;
    background-position: center;
    background-repeat: no-repeat;
    /*
    padding: 3px;
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    */
}

/*
.mobile-logo-image-wrapper img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    border-radius: 0;
}
*/

.mobile-logo-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.mobile-logo-text .first-name,
.mobile-logo-text .last-name {
    font-family: 'Saira Extra Condensed', serif;
    font-weight: 600;
    color: white;
    line-height: 1.1;
}

.mobile-logo-text .first-name {
    font-size: 1.2rem;
    margin-bottom: 1px;
    text-transform: uppercase;
}

.mobile-logo-text .last-name {
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* Desktop view - keeping existing styling */
.d-none.d-lg-block img.img-profile {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* Navbar before-after effect Ends */

/* Footer Section Styling */

.footer {
  background-color: linear-gradient(135deg, #045388, #0e3a53);
  padding: 20px 0px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #b7bcc2;
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.footer p {
  margin: 0;
  font-weight: bold;
}

#navbar-footer .footer {
  position: relative;
  bottom: -10px; 
}

#main-footer .footer {
  position: relative;
  bottom: 0px;
}

/* Footer Section Ends */

/* Signature Styling Starts */

.signature-container {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 30px;
  position: relative;
  cursor: pointer;
}

.signature-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0%;
  width: 10%; 
  height: 2px; 
  background-color: #343a40; 
  border-radius: 1px; 
}

.signature-image {
  max-width: 200px;
  height: auto;
  display: inline-block;
  margin-bottom: 7px;
  cursor: pointer;
}

/* Signature Styling Ends */

/* Button Styling Starts */

.button {
  padding: 0;
  margin-top: 0px;
  margin-left: 0px;
}

.button a {
  display: inline-block;
  text-decoration: none;
  border: 2px solid #045388; 
  padding: 0 15px;
  color: #045388; 
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 10px;
  transition: background-color 0.5s ease, color 0.5s ease; 
  height: 50px;
  min-width: 170px;
  text-align: center;
  line-height: 46px;
  margin-top: 20px;
  background-color: transparent; 
  position: relative;
  overflow: hidden;
}

.button a:hover {
  background-color: #045388; 
  color: #fff; 
}

.button .cv{
  margin-left: 0px;
  margin-bottom: -20px;
  background-color: #045388;
  color: #fff;
}

.button .cv:hover {
  background-color: transparent;
  color: #045388;
  border: 2px solid #045388;
}

.button .filled{
  margin-left: 0px;
  background-color: #045388;
  color: #fff;
}

.button .filled:hover {
  background-color: transparent;
  color: #045388;
  border: 2px solid #045388;
}

.button .certificate{
  margin-left: 82px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.button .contact{
  margin-left: 30px;
  margin-bottom: -20px;
}

.button .back{
  margin-left: 0px;
  margin-top: 30px;
  background-color: #045388;
  color: #fff;
}

.button .back:hover {
  background-color: transparent;
  color: #045388;
  border: 2px solid #045388;
}

.cv:focus, .cv:active,
.contact:focus, .contact:active,
.filled:focus, .filled:active,
.certificate:focus, .certificate:active,
.back:focus, .back:active {
  background-color: #299ce9 !important;
  color: #ffffff !important;
}

/* Button Styling Ends */

/* Education Card Styling Starts */

#education .resume-item {
  position: relative;
  background: #ffffff; 
  border: 2px solid #e7f1f8; 
  border-radius: 10px; 
  padding: 30px; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  transition: all 0.4s ease-in-out; 
  cursor: default;
}

#education .resume-item:hover {
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); 
  transform: scale(1.02); 
}

.society-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #343a40;
  margin-bottom: 25px !important;
  text-transform: uppercase;
  margin-top: 50px !important;
}

/* Ensuring uniform card sizes */
.activity-card {
  position: relative;
  height: 100%; /* Ensures all cards are uniform */
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card .card-body {
  background-color: #f3f6f8;
  padding: 20px;
}

/* Border Glow Effect */
.activity-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 2px solid transparent; /* Initially invisible */
  box-shadow: 0 0 5px rgba(4, 83, 136, 0.3);
  opacity: 0;
  transition: opacity 0.4s ease-in-out, box-shadow 0.4s ease-in-out, border-color 0.4s ease-in-out;
  pointer-events: none;
}

/* Hover Effect: Lift, Expand, and Border Glow */
.activity-card:hover {
  transform: translateY(-5px) scale(1.03); /* Slight lift & expansion */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Hover Effect on Border Glow */
.activity-card:hover::after {
  opacity: 1;
  border-color: rgba(4, 83, 136, 0.3); /* Border glows smoothly */
  box-shadow: 0 0 12px rgba(4, 83, 136, 0.7);
}

/* Center-align images and ensure uniform size */
.activity-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px; 
  background: #ffffff; 
  padding: 15px; 
}

.activity-img-container a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.activity-img-container img {
  max-height: 100%;
  max-width: 80%;
  object-fit: contain;
  cursor: pointer;
}

/* Education Card Styling Ends */

/* Custom styles for Skills section */

/* Part 1: Programming to Databases */

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f3f6f8;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #045388;
}

.skill-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-align: center;
}

.skill-list {
  text-align: center;
  font-size: 0.9rem;
  color: #6c757d;
}

/* Part 2: Machine Learning & Data Visualization */

.skill-card-alt {
  background: #ffffff;
  border: 2px solid #e7f1f8;
  padding: 1.5rem;
  border-radius: 10px;
  transition: all 0.4s ease-in-out;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  min-height: 100%;
}

.skill-card-alt:hover {
  background: #eff4fd;
  transform: scale(1.05);
}

.skill-icon-alt {
  font-size: 3rem;
  color: #045388;
  align-self: center;
}

.skill-title-alt {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 10px 0;
  padding-left: 20px;
  align-content: center;
}

.skill-card-alt ul {
  align-self: center;
  padding-left: 50px;
}

/* Part 3: Tools */

/* Tools Section Styling */
.tools-section {
  margin-top: 20px;
  padding: 20px;
  background: #eaeff3;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.tools-section:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 10px rgba(4, 83, 136, 0.5);
  transform: translateY(-5px);
}

.tools-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #343a40;
  margin-bottom: 25px;
  text-transform: uppercase;
}

/* Tools Container Styling */
.tools-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
}

/* Tool Item Styling */
.tool-item {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: bold;
  color: #045388;
  border: 1px solid #045388;
  border-radius: 15px;
  background: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

/*
.tool-item:hover {
  background: #045388;
  color: #fff;
}
*/

/* Part 4: Soft Skills & Language Proficiency */

.skill-card-simple {
  position: relative;
  background: #f3f6f8;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
}

.skill-card-simple:hover {
  transform: scale(1.03);
}

/* Content inside the card */
.skill-card-simple h4 {
  font-size: 1.7rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.skill-card-simple h4 i{
  padding-right: 5px;
}

.skill-card-simple ul {
  list-style: none;
  padding-left: 35px;
}

.skill-card-simple ul li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  padding-left: 20px;
  position: relative;
}

.skill-card-simple ul li:before {
  content: "\f058"; /* FontAwesome check icon */
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 0;
  color: #045388;
  font-size: 0.8rem;
}

/* Bottom Line */
.skill-card-simple:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 5px;
  background: #045388;
  transition: width 0.5s ease-in-out;
  border-bottom-right-radius: 10px; 
}

.skill-card-simple:hover:before {
  width: 50%;
}

.skill-card-simple:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  width: 0;
  height: 5px;
  background: #045388;
  transition: width 0.5s ease-in-out; 
  border-bottom-left-radius: 10px;
}

.skill-card-simple:hover:after {
  width: 50%;
}

/* Skills Part Styling Ends */

/* Project Card Styling Starts */

/* Project Categories Styling - Fixed Sticky Positioning */
.category-filter {
  margin-bottom: 2rem;
  position: sticky;
  top: 0px; /* Matches body padding-top */
  z-index: 100;
  background: rgba(241, 244, 248, 0.98);
  padding: 20px 0;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #e7f1f8;
}

.filter-btn {
  background: transparent;
  border: 2px solid #045388;
  color: #045388;
  padding: 8px 16px;
  margin: 3px;
  border-radius: 20px;
  font-family: 'Saira Extra Condensed', serif;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: #045388;
  border-color: #045388;
  color: white;
  transform: translateY(-2px);
  outline: none;
}

.filter-btn:focus,
.filter-btn:active {
  outline: none !important;
  border-color: #045388 !important;
}

/* Unified category section styling */
.category-section {
  margin-bottom: 3rem;
  opacity: 1;
  transition: opacity 0.3s ease;
  margin-top: 3rem;
}

.category-section.hidden {
  display: none;
  opacity: 0;
}

/* Category header design - with side line */
.category-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 15px;
}

.category-icon {
  font-size: 2rem;
  margin-right: 1rem;
  color: #343a40;
  background: #e7f1f8;
  padding: 12px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  color: #343a40;
}

.category-line {
  flex-grow: 1;
  height: 3px;
  margin-left: 1rem;
  border-radius: 2px;
  background: linear-gradient(90deg, #343a40, #045388, transparent);
}

/* Project Card Styling - Enhanced shadows and hover effects */
.project-card {
  position: relative;
  background: #ffffff; 
  border: 2px solid #e7f1f8; 
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
  overflow: hidden;
  border-left: 4px solid #045388;
}

.project-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-5px);
  border-left-color: #299ce9;
}

.project-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  background: #045388;
  transition: all 0.3s ease;
}

.project-card:hover .project-badge {
  background: #299ce9;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Project Image Container - No scaling */
.project-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  padding: 10px;
}

.project-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 10px;
  margin-left: 20px;
  cursor: pointer;
}

/* Project Info Styling - Original styling */
.project-info {
  padding-left: 0px;
}

.project-title {
  font-family: 'Saira Extra Condensed', serif;
  font-size: 1.75rem;
  font-weight: bold;
  color: #045388;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 700;
}

.project-tech {
  font-family: 'Saira Extra Condensed', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #343a40;
  margin-bottom: 10px;
  text-transform: uppercase;
  margin: 15px 0px;
}

.project-desc {
  font-family: 'Open Sans', serif;
  font-size: 0.9rem;
  color: #495057;
  margin-bottom: 15px;
  margin-right: 20px;
  text-align: justify;
  line-height: 1.6;
}

/* Icon Buttons - Enhanced hover effects */
.icon-buttons {
  display: flex;
  gap: 10px;
}

.icon-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: #045388;
  color: #fff;
  font-size: 1.2rem;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(4, 83, 136, 0.3);
}

.icon-button:hover {
  background: #299ce9;
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(4, 83, 136, 0.5);
}

.icon-button:focus,
.icon-button:active {
  background-color: #299ce9 !important;
  color: #ffffff !important;
}

/* Animation for project cards */
.project-card {
  transition: all 0.5s ease;
  cursor: pointer;
}

.project-card.animate-in {
  transform: translateY(0);
  opacity: 1;
}

/* Project item hiding for filtering */
.project-item {
  transition: all 0.3s ease;
}

.project-item.hidden {
  display: none !important;
  opacity: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.category-section,
.project-item {
  transition: all 0.3s ease-in-out;
}

/* Project Card Styling Ends */

/* Certification Card Styling Starts */

.certificate-card {
  border: none;
  border-radius: 10px;
  background-color: #f3f6f8;
	position: relative;
	margin-bottom: 30px;
	-webkit-transition: 0.4s ease-in-out;
	-moz-transition: 0.4s ease-in-out;
	-ms-transition: 0.4s ease-in-out;
	-o-transition: 0.4s ease-in-out;
	transition: 0.4s ease-in-out;
}

.certificate-card:hover {
  -webkit-box-shadow: 8px 8px 3px -1px rgba(0,0,0,0.3);
  -moz-box-shadow: 8px 8px 3px -1px rgba(0,0,0,0.3);
  box-shadow: 8px 8px 3px -1px rgba(0,0,0,0.3);
	position: relative;
	transform: translate(0, -5px);
	cursor: default;
}

.resume-content-certification {
  margin-left: 15px;
}
  
section.resume-section {
  border-bottom: 1px solid #dee2e6;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}
  
section.resume-section .resume-item .resume-date {
  min-width: none;
}

/* Certification Card Styling Ends */
  
.bg-primary {
  background-color: #161b22!important;
}
  
.text-primary {
  color: #045388 !important;
}
  
a {
  color: #045388;
}
  
a:hover, a:focus, a:active {
  color: #299ce9;
}
  
.bold-text {
  font-weight: bold;
}

/* About Section CSS */

#about {
  min-height: 100vh;
}

#about section.resume-section.p-3.p-lg-5.d-flex.d-column {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh; 
}

#about .my-auto {
    margin-top: auto !important;
    margin-bottom: auto !important;
    width: 100%;
}

/* Education and other section CSS */

#education {
  min-height: 100vh;
}

#skills {
  min-height: 100vh;
}

#projects {
  min-height: 100vh;
}

#certification {
  min-height: 100vh;
}
  
.img-certification {
  max-width: 4rem;
  max-height: 4rem;
  margin-left: 4px;
}
  
.resume-content-certification{
  padding-left: 4px;
  flex-grow: 1;
  overflow: hidden;
}

#viewer {
  min-height: 100vh;
}


/* File Viewer Styling */

.pdf-container {
  width: 100%;
  height: 95vh;  /* Full screen height */
  border: 2px solid #e7f1f8;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.pdf-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

#error {
    min-height: 100vh;
    display: flex !important;
    justify-content: center !important; 
}

.error-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 85vh; 
  width: 100%;
}

.error-container img {
  max-width: 40%; 
  height: auto;
}

/* Error HTML Styling */

.error-img {
  display: flex;
  justify-content: left;
  height: 38vh; 
  width: 100%;
}

.error-img img {
  max-width: 20%; 
  height: auto;
}

/* Contact Me Styling Starts */

/* Contact Section Styles */

/* Specific targeting for contact section */
#contact.resume-section {
    display: flex !important;
    justify-content: center !important;
    min-height: 100vh;
}

#contact {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.contact-content {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-form-wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.contact-form {
    flex: 2;
    min-width: 300px;
    background: #f9fbfd;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(4, 83, 136, 0.1);
    border: 1px solid #e7f1f8;
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 8px 25px rgba(4, 83, 136, 0.15);
}

/* FORM STRUCTURE FIXES */
.form-group {
    margin-bottom: 25px;
    position: relative;
    width: 100%;
}

.form-group label {
    display: block;
    font-family: 'Saira Extra Condensed', serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #045388;
    letter-spacing: 0.5px;
    text-align: left;
}

/* Two-column layout for form rows */
.form-row.compact-row {
    display: flex;
    gap: 25px;
    margin-bottom: 0px;
    width: 100%;
}

.form-group.half-width {
    flex: 1;
    left: 6px;
    min-width: 0;
    width: 100% !important; 
}

/* Ensure both columns have equal width */
.form-row.compact-row .form-group.half-width {
    flex: 1 1 45%; /* Equal flex basis */
}

/* Full width fields (Full Name, Subject, Message) */
.form-group.full-width {
    width: 100%;
}

/* INPUT STYLING */
.form-control.compact-input {
    padding: 7px 9px;
    font-size: 0.95rem;
    height: 42px;
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e7f1f8;
    border-radius: 8px;
    font-family: 'Open Sans', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #045388;
    box-shadow: 0 0 0 3px rgba(4, 83, 136, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.compact-textarea {
    min-height: 100px;
    resize: vertical;
    padding: 12px 15px;
    font-size: 0.95rem;
}

.custom-gender-select {
    position: relative;
    width: 100%;
}

.gender-select {
    padding: 10px 40px 10px 40px; /* Space for icon on left */
    width: 100%;
    text-align: left;
    position: relative;
    z-index: 1;
    background-color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23045388' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    cursor: pointer;
}

.gender-icons {
    position: absolute;
    left: 18px; /* Fixed position on left */
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none; /* Disable clicking on icons */
}

.gender-icon {
    font-size: 16px;
    opacity: 0; /* Hidden by default */
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: absolute;
    left: 0;
    top: 0;
}

/* Show only the active icon */
.gender-icon.active {
    opacity: 1;
    visibility: visible;
    position: relative; /* Keep it in flow when active */
}

.gender-icon.female i { color: #e91e63; }
.gender-icon.male i { color: #045388; }
.gender-icon.neutral i { color: #9c27b0; }

/* When gender is selected, keep proper padding */
.gender-select:not([value=""]) {
    padding-left: 40px; /* Maintain space for icon */
}

/* Remove hover effects on icons since they're not clickable */
.gender-icon {
    pointer-events: none;
}

.submit-btn {
  display: inline-block;
  text-decoration: none;
  border: 2px solid #045388; 
  padding: 0 25px;
  color: #045388; 
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 10px;
  transition: background-color 0.5s ease, color 0.5s ease; 
  height: 50px;
  min-width: 170px;
  text-align: center;
  line-height: 46px;
  margin-top: 20px;
  background-color: transparent; 
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background-color: #045388;
  color: #fff;
  border: 2px solid #045388;
}

.connect-gif-container {
    text-align: center;
    margin: -10px auto 5px auto;
    max-width: 400px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    background: #f9fbfd;
    padding: 5px;
    transition: all 0.3s ease;
}

.connect-gif {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    object-fit: contain;
}

/*
.connect-animation {
    text-align: center;
    margin: -30px auto 0px auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animation-dots {
    display: flex;
    gap: 10px;
}

.animation-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #045388;
    animation: pulse 1.5s ease-in-out infinite;
}

.animation-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.animation-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}
*/

.social-connect {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 30px 20px;
  background: #f9fbfd;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(4, 83, 136, 0.1);
  border: 2px solid #e7f1f8;
}

.social-connect h3 {
  font-family: 'Saira Extra Condensed', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #045388;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.social-connect p {
  font-family: 'Open Sans', serif;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  font-family: 'Saira Extra Condensed', serif;
  font-size: 1.3rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background: #045388; /* Changed to match your theme */
}

.social-icon i {
  margin-right: 15px;
  font-size: 1.5rem;
  width: 30px;
  text-align: center;
}

.social-icon span {
  flex-grow: 1;
  text-align: left;
}

.social-icon:hover {
  background: #299ce9; /* Changed to match your theme */
  color: white;
  text-decoration: none;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn:focus, .submit-btn:active,
.social-icon:focus, .social-icon:active {
  background-color: #299ce9 !important;
  color: #ffffff !important;
  border: 2px solid #045388 !important;
}

/* RESPONSIVE FIXES */
@media (max-width: 768px) {
    .form-row.compact-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half-width {
        width: 100% !important;
    }
    
    .contact-form-wrapper {
        flex-direction: column;
    }
}

/* Centered Notification Styles with Icons */
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px 25px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    font-family: 'Open Sans', serif;
    font-weight: 500;
    max-width: 400px;
    width: 90%;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.notification-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
}

.notification-content {
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 1.1rem;
}

.notification-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    margin-top: 20px;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Saira Extra Condensed', serif;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    min-width: 100px;
}

.notification-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.notification.success {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.notification.error {
    background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%);
}

/* Overlay background */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

/* Contact Me Styling Ends */

