/* ============================================
   Cory A Rogers - Professional Portfolio
   Minimalistic Design with Cool Colors
   Tech-Forward with Subtle Animations
   ============================================ */

/* Color Palette - Cool Colors: Greens, Greys, Blues */
:root {
  --primary-blue: #2C5F7C;
  --dark-blue: #1A4A5C;
  --light-blue: #4A90A4;
  --accent-green: #5A8A7A;
  --dark-green: #3D6B5D;
  --light-green: #7BA99A;
  --grey-dark: #2C3E50;
  --grey-medium: #5A6C7D;
  --grey-light: #E8EDF0;
  --grey-lighter: #F5F7F9;
  --white: #FFFFFF;
  --text-dark: #2C3E50;
  --text-medium: #5A6C7D;
  --text-light: #8A9BA8;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.7;
    overflow-x: hidden;
 
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-green);
}/* Navigation - Transparent over hero; light bar with dark links when scrolled */
.navbar {
  background: transparent !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  box-shadow: none;
  transition: background 0.3s ease, color 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  background: rgba(178, 192, 200, 0.5) !important;
  padding: 0.75rem 0;
  box-shadow: none;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* Top of page: white brand and links */
.navbar-brand {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--white) !important;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
  color: var(--white) !important;
}
.navbar.scrolled {
    
   padding-top: 1rem !important;
}
/* Scrolled: dark brand */
.navbar.scrolled .navbar-brand {
 
  color: #1a2e36 !important;
}

.navbar.scrolled .navbar-brand:hover {
  color: var(--primary-blue) !important;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 8px;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--light-green);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
  color: var(--grey-light) !important;
  background: rgba(255, 255, 255, 0.08);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

.navbar-nav .nav-link.active {
  color: var(--grey-light) !important;
  background: rgba(123, 169, 154, 0.2);
}

.navbar-nav .nav-link.active::after {
  width: 80%;
  background: var(--light-green);
}

/* Scrolled: dark links for contrast */
.navbar.scrolled .nav-link {
  color: #1a2e36 !important;
  font-weight: 600;
}

.navbar.scrolled .nav-link::after {
  background: var(--primary-blue);
}

.navbar.scrolled .nav-link:hover {
  color: var(--primary-blue) !important;
  background: rgba(26, 46, 54, 0.08);
}

.navbar.scrolled .nav-link.active {
  color: var(--dark-blue) !important;
  background: rgba(26, 46, 54, 0.12);
}

.navbar.scrolled .nav-link.active::after {
  background: var(--dark-blue);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a2e36' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
  background: rgba(26, 74, 92, 0.6);
  border-radius: 8px;
  margin-top: 1rem;
  padding: 1rem;
}

@media (min-width: 992px) {
  .navbar-collapse {
    background: transparent;
    margin-top: 0;
    padding: 0;
  }
}


/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 50%, var(--accent-green) 100%);
  color: var(--white);
  padding-top: 30rem;
  margin-top: -25rem;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  33% { transform: translateY(-20px) translateX(10px); }
  66% { transform: translateY(10px) translateX(-10px); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--white) 0%, var(--light-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--grey-light);
}

.hero-description {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--light-green);
}

.hero-text {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  color: var(--grey-light);
  max-width: 500px;
}

.hero-social {
  margin-top: 2rem;
}
.hero-title, .hero-subtitle, .hero-text, .hero-button {
  text-align: left; /* Default for desktop */
}

@media (max-width: 768px) {
  .hero-title, .hero-subtitle, .hero-text, .hero-button {
    text-align: center; /* Center for mobile */
  }
}
.hero-social {
  text-align: left; /* Default for desktop */
}

.hero-button {
  display: inline-block; /* Ensures the button can be centered */
  margin: 0; /* Reset margin */
}

@media (max-width: 768px) {
  .hero-social {
    text-align: center; /* Center for mobile */
  }
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--white);
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--light-green);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

.social-link i {
  font-size: 1.2rem;
}

/* Hero Stats */
.hero-stats {
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--grey-light);
  font-weight: 500;
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--grey-light);
  margin-bottom: 0.5rem;
}

.hero-location {
  font-size: 1rem;
  color: var(--grey-light);
  text-align: center;
  margin-top: 2rem;
}

.hero-location i {
  margin-right: 0.5rem;
  color: var(--grey-light);
}

/* Sections */
.section-padding {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  transition: width 0.5s ease;
}

.section-title:hover::after {
  width: 100px;
}

.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-title.text-center:hover::after {
  transform: translateX(-50%);
}

.bg-light {
  background-color: var(--grey-lighter) !important;
}

/* About Section  */
.about-section {
  background-color: #f9f9f9;
}

.about-text-block {

  padding-left: 1.5rem;
}

.about-text-block p {
  margin-bottom: 1.25rem;
  color: #444;
  line-height: 1.8;
}

.about-text-block .lead {
  font-size: 1.15rem;
  color: #222;
}

/* Stacked column of cards */
.about-accent-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Each card — uniform height, same style as contact links */
.about-accent-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  border: 2px solid rgba(0, 0, 0, 0.07);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  min-height: 80px; /* ensures uniform height */
}

.about-accent-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(44, 95, 124, 0.05), transparent);
  transition: left 0.5s ease;
}

.about-accent-item:hover::before {
  left: 100%;
}

.about-accent-item:hover {
  transform: translateY(-4px);
  border-color: rgba(44, 95, 124, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 1);
}

.about-accent-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(44, 95, 124, 0.2);
}

.about-accent-item:hover .about-accent-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(44, 95, 124, 0.3);
}

.about-accent-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-accent-label {
  font-size: 0.8rem;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.about-accent-text {
  color: var(--dark-blue);
  font-weight: 600;
  font-size: 1rem;
}

.about-accent-item:hover .about-accent-text {
  color: var(--primary-blue);
}

/* Mobile: stack everything */
@media (max-width: 991px) {
  .about-accent-stack {
    margin-top: 2rem;
  }
}

/* Content Blocks */
.content-block {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-medium);
}

.content-block .lead {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

/* Services Section - Varied Design */
.services-section {
  background: var(--grey-lighter);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, var(--white) 0%, var(--grey-lighter) 100%);
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border-top: 4px solid var(--primary-blue);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-top-color: var(--accent-green);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--accent-green);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-medium);
  line-height: 1.7;
}


/* Resume Section - Varied Design */
.resume-section {
  background: var(--white);
  position: relative;
}



.resume-content {
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--grey-light);
}

.resume-section-item h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--grey-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.resume-section-item h3 i {
  color: var(--primary-blue);
  font-size: 1.5rem;
}

.resume-item {
  margin-bottom: 2.5rem;
  padding-left: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.resume-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--grey-light);
  transition: all 0.3s ease;
}

.resume-item:hover::before {
  background: linear-gradient(180deg, var(--primary-blue), var(--accent-green));
}

.resume-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.resume-item h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0;
}

.resume-badge {
  background: var(--accent-green);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.resume-meta {
  color: var(--accent-green);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.resume-item p {
  color: var(--text-medium);
  line-height: 1.8;
}

.cert-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.cert-item:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(44, 95, 124, 0.2);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.cert-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.cert-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.cert-name {
  font-weight: 600;
  color: var(--dark-blue);
  font-size: 0.95rem;
}

.cert-issuer {
  font-size: 0.8rem;
  color: var(--text-medium);
}

.cert-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-green);
  background: rgba(from var(--accent-green) r g b / 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(from var(--accent-green) r g b / 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .cert-badge {
    display: none;
  }
}
.expertise-list {
  list-style: none;
  padding: 0;
}

.expertise-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-medium);
  transition: all 0.3s ease;
}

.expertise-list li:hover {
  color: var(--primary-blue);
  transform: translateX(5px);
}

.expertise-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 600;
  transition: transform 0.3s ease;
}

.expertise-list li:hover::before {
  transform: translateX(5px);
}

/* Contact Section - Gradient Background with Glass Form */
.contact-section {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-blue) 50%, var(--dark-blue) 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
  animation: particleFloat 25s ease-in-out infinite;
}

.contact-container-wrapper {
  position: relative;
  z-index: 2;
}

.contact-section .section-title {
  color: var(--white);
}

.contact-section .section-title::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5));
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3.5rem;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}


.contact-form-header {
  margin-bottom: 2.5rem;
}

.contact-form-wrapper h3 {
  color: var(--dark-blue);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 2rem;
}

.contact-form-wrapper .intro-text {
  color: var(--text-dark);
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 500;
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-form .form-label i {
  color: var(--primary-blue);
  font-size: 0.9rem;
}

.contact-form .form-label .required {
  color: var(--accent-green);
  margin-left: 0.25rem;
}

.contact-form .form-control {
  border: 2px solid var(--grey-light);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
}

.contact-form .form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(44, 95, 124, 0.1);
  outline: none;
  background: var(--white);
  transform: translateY(-1px);
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  color: var(--white);
  border: none;
  padding: 1.125rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(44, 95, 124, 0.35);
  color: var(--white);
}

.btn-submit:active {
  transform: translateY(-1px);
}

.form-message {
  padding: 1rem;
  border-radius: 12px;
  font-weight: 500;
  display: none;
  text-align: center;
}

.form-message.success {
  background: rgba(90, 138, 122, 0.1);
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
  display: block;
}

.form-message.error {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid #dc3545;
  display: block;
}

/* Integrated Contact Info Below Form */
.contact-info-integrated {
  margin-top: 3rem;
  padding-top: 2.5rem;
}

.contact-divider {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.contact-divider::before,
.contact-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.contact-divider::before {
  left: 0;
}

.contact-divider::after {
  right: 0;
}

.contact-divider span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-info-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.contact-info-row .contact-info-link {
  max-width: 400px;
  width: 100%;
}

.contact-info-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.contact-info-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(44, 95, 124, 0.05), transparent);
  transition: left 0.5s ease;
}

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

.contact-info-link:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.95);
}

.contact-link-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.75rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(44, 95, 124, 0.2);
}

.contact-info-link:hover .contact-link-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(44, 95, 124, 0.3);
}

.contact-link-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.contact-link-label {
  font-size: 0.8rem;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.contact-link-text {
  color: var(--dark-blue);
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-info-link:hover .contact-link-text {
  color: var(--primary-blue);
}

.contact-link-arrow {
  color: var(--primary-blue);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.contact-info-link:hover .contact-link-arrow {
  opacity: 1;
  transform: translateX(0);
}


@media (max-width: 768px) {
  .contact-info-row {
    flex-direction: column;
  }
  
  .contact-info-row .contact-info-link {
    max-width: 100%;
  }
  
  .contact-form-wrapper {
    padding: 2rem;
  }
}

/* Footer - Tech-Forward Design with Smooth Transition */
.footer {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--grey-dark) 100%);
  color: var(--grey-light);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(123, 169, 154, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(74, 144, 164, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-brand-section {
  margin-bottom: 2rem;
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--grey-light);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

footer-location {
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center; /* center on mobile */
}

/* Override for desktop */
@media (min-width: 992px) {
  .footer-location {
    justify-content: flex-start; /* left align on desktop */
  }
  
  .hero-section {
      
       padding-top: 25rem;
  }
}

.footer-location i {
  color: var(--light-green);
}
.footer-nav-section {
  margin-bottom: 2rem;
}

.footer-nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.75rem;
}

.footer-nav a {
  color: var(--grey-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-nav a::before {
  content: '▸';
  color: var(--light-green);
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-nav a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-social-section {
  margin-bottom: 2rem;
}

.footer-social {
  margin-bottom: 1.5rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--grey-light);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-social-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--light-green);
  transform: translateY(-2px);
}

.footer-social-link i {
  font-size: 1.2rem;
  color: var(--light-green);
}

.footer-credit {
  margin-top: 1.5rem;
}

.credit-text {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
  font-weight: 400;
}

.credit-link {
  color: var(--light-green);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.credit-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--light-green);
  transition: width 0.3s ease;
}

.credit-link:hover {
  color: var(--white);
}

.credit-link:hover::after {
  width: 100%;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .footer-nav-section,
  .footer-social-section {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 2.5rem 0 1.25rem;
  }
  
  .footer-brand {
    font-size: 1.4rem;
  }
  
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

/* Animation Classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.slide-in-left {
  opacity: 0;
  animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
  opacity: 0;
  animation: slideInRight 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* Intersection Observer - Animate on Scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .service-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .resume-content {
    padding: 2rem;
  }
/* Company block wrapper */
.resume-company-block {
  margin-top: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  overflow: hidden;
}

/* Company header bar */
.resume-company-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
}

.resume-company-name {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.resume-company-duration {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* Roles container */
.resume-company-roles {
  padding: 0.5rem 0;
}

/* Individual role row */
.resume-role-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.2s ease;
}

.resume-role-item:last-child {
  border-bottom: none;
}

.resume-role-item:hover {
  background: rgba(44, 95, 124, 0.03);
}

/* Vertical timeline dot */
.resume-role-indicator {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  margin-top: 6px;
  flex-shrink: 0;
}

.resume-role-content {
  flex: 1;
}

.resume-role-content h5 {
  color: var(--dark-blue);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.resume-role-content p {
  margin-bottom: 0.5rem;
}

.resume-role-content .resume-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    margin-top: 3rem;
  }

  .about-image-wrapper {
    height: 300px;
    margin-bottom: 2rem;
  }

  .contact-form-wrapper,
  .contact-info-card {
    padding: 2rem;
  }
}
.skills-group {
  margin-bottom: 2rem;
}

.skills-group-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skills-group-label i {
  font-size: 0.75rem;
}

.skills-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-tag {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-blue);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(44, 95, 124, 0.15);
  border-radius: 20px;
  padding: 0.45rem 1.1rem;
  transition: all 0.25s ease;
}

.skill-tag:hover {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 95, 124, 0.2);
}
@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Utility Classes */
.text-muted {
  color: var(--text-light) !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mt-4 {
  margin-top: 2rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}
