body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #e8f2ff;
  color: #222;
  margin: 0;
  overflow-x: hidden;
}

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

/* Projects Page Styles */
.projects-section {
  padding: 6rem 2rem;
  background: #e8f2ff;
  margin: 0;
  position: relative;
}

/* Photo Gallery */
.photo-gallery {
  max-width: 1200px;
  margin: 0 auto 4rem auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(42,77,122,0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(42,77,122,0.2);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(42,77,122,0.9) 100%);
  color: white;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.projects-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0e6ed, transparent);
}

.projects-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  padding: 2rem 0;
}

.project-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(42,77,122,0.1);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  margin-bottom: 1rem;
}

.project-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(42,77,122,0.2);
}

.project-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2a4d7a, #1b2c3a);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.project-item:hover::before {
  transform: scaleX(1);
}

.project-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  border-radius: 16px 16px 0 0;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-item:hover .project-image img {
  transform: scale(1.08);
}

.project-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(42,77,122,0.1) 100%);
  pointer-events: none;
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #2a4d7a;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.project-content p {
  color: #222;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-link {
  display: inline-block;
  background: #2a4d7a;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.project-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

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

.project-link:hover {
  background: #1b2c3a;
  transform: translateY(-2px);
}

/* Active navigation link */
.nav-link.active {
  color: #1b2c3a;
  font-weight: 900;
}

.nav-link.active::after {
  width: 100%;
}

/* Logo link styling */
.logo-text {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.logo-text:hover {
  color: #1b2c3a;
}

@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 scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.navbar {
  background: #fff;
  border-bottom: 2px solid #e0e6ed;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2a4d7a;
  letter-spacing: 2px;
}
.nav-links {
  display: flex;
  gap: 2rem;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #2a4d7a;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}
.nav-link {
  color: #2a4d7a;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2a4d7a;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}
.nav-link:hover {
  color: #1b2c3a;
}
.hero {
  padding: 8rem 2rem 6rem 2rem;
  background: #e8f2ff;
  margin-bottom: 3rem;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2a4d7a, transparent);
}
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}
.hero-text {
  flex: 2;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #2a4d7a;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.title-line-1, .title-line-2 {
  display: block;
  color: #1b2c3a;
  font-size: 2rem;
  font-weight: 700;
}
.name {
  color: #2a4d7a;
  font-size: 2.5rem;
  font-weight: 700;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: #2a4d7a;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.hero-description p {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 2rem;
}
.credentials {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}
.credential {
  background: #e0e6ed;
  border-radius: 8px;
  padding: 1rem 2rem;
  text-align: center;
}
.credential-label {
  font-size: 0.9rem;
  color: #2a4d7a;
  font-weight: 700;
}
.credential-value {
  font-size: 1.2rem;
  color: #1b2c3a;
  font-weight: 900;
  transition: transform 0.3s ease;
}

.credential:hover .credential-value {
  transform: scale(1.1);
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.btn-primary, .btn-secondary {
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary::before, .btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

.btn-primary:hover::before, .btn-secondary:hover::before {
  left: 100%;
}
.btn-primary {
  background: #2a4d7a;
  color: #fff;
}
.btn-primary:hover {
  background: #1b2c3a;
  color: #fff;
}
.btn-secondary {
  background: #fff;
  color: #2a4d7a;
  border: 2px solid #2a4d7a;
}
.btn-secondary:hover {
  background: #2a4d7a;
  color: #fff;
}
.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(42,77,122,0.15);
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2a4d7a;
  margin: 6rem 0 3rem 0;
  letter-spacing: 2px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #2a4d7a, #1b2c3a);
  border-radius: 2px;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-bottom: 6rem;
  padding: 2rem 0;
}
.work-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(42,77,122,0.08);
  padding: 2.5rem 2rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #e0e6ed;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.work-link {
  margin-top: auto;
}

.work-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #2a4d7a, #1b2c3a);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.work-item:hover {
  box-shadow: 0 12px 40px rgba(42,77,122,0.15);
  transform: translateY(-5px);
}

.work-item:hover::before {
  transform: scaleY(1);
}
.work-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.work-header h3 {
  font-size: 1.3rem;
  color: #2a4d7a;
  font-weight: 900;
  margin-bottom: 0.2rem;
}
.work-role {
  background: #e0e6ed;
  color: #2a4d7a;
  border-radius: 8px;
  padding: 0.2rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  width: 130px;
  min-width: 130px;
  max-width: 130px;
  text-align: center;
  display: inline-block;
}
.work-description {
  color: #222;
  margin-bottom: 0.5rem;
}
.work-achievements {
  font-size: 0.95rem;
  color: #2a4d7a;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}
.work-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.work-tech span {
  background: #e0e6ed;
  color: #2a4d7a;
  border-radius: 8px;
  padding: 0.2rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.work-link {
  display: inline-block;
  color: #2a4d7a;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 1rem;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  position: relative;
}

.work-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #2a4d7a;
  transition: width 0.3s ease;
}

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

.work-link:hover {
  color: #1b2c3a;
  transform: translateX(5px);
}
.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 2rem 0;
}

.contact-form-section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(42,77,122,0.1);
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-form-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(42,77,122,0.15);
}

.contact-form-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2a4d7a;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 2px solid #e0e6ed;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  transition: all 0.3s ease;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2a4d7a;
  box-shadow: 0 0 0 3px rgba(42,77,122,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.submit-btn {
  background: #2a4d7a;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  background: #1b2c3a;
  transform: translateY(-2px);
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-info {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(42,77,122,0.1);
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(42,77,122,0.15);
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2a4d7a;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: #e8f2ff;
  transform: translateX(5px);
}

.contact-label {
  font-weight: 700;
  color: #2a4d7a;
  min-width: 80px;
}

.contact-item a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #2a4d7a;
}

.social-links {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(42,77,122,0.1);
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-links:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(42,77,122,0.15);
}

.social-links h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2a4d7a;
  margin-bottom: 2rem;
  text-align: center;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(42,77,122,0.1), transparent);
  transition: left 0.5s ease;
}

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

.social-link:hover {
  background: #e8f2ff;
  transform: translateX(5px);
  color: #2a4d7a;
}

.social-link.linkedin:hover {
  background: #0077b5;
  color: #fff;
}

.social-link.github:hover {
  background: #333;
  color: #fff;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

@media (max-width: 900px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-form-section,
  .contact-info,
  .social-links {
    padding: 2rem;
  }
  
  .contact-form-section h3,
  .contact-info h3,
  .social-links h3 {
    font-size: 1.6rem;
  }
} 

/* Success Message Styles */
.success-message {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
  animation: fadeInUp 0.5s ease-out;
}

.success-message p {
  margin: 0;
  font-weight: 500;
}

/* Loading state for submit button */
.submit-btn.loading {
  background: #6c757d;
  cursor: not-allowed;
  position: relative;
}

.submit-btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.footer-links {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}
.footer-links a {
  color: #2a4d7a;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #1b2c3a;
}
footer {
  text-align: center;
  padding: 3rem 0;
  background: #fff;
  color: #2a4d7a;
  font-size: 1.1rem;
  border-top: 2px solid #e0e6ed;
  margin-top: 4rem;
}

/* Section spacing improvements */
main {
  padding-top: 2rem;
}

section {
  margin-bottom: 4rem;
}

/* Better card spacing */
.card-spacing {
  margin: 2rem 0;
}

/* About Me Section */
.about-me {
  padding: 6rem 2rem;
  background: #fff;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(42,77,122,0.1);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.about-description p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #222;
  margin-bottom: 1.5rem;
}

/* Explore Site Section */
.explore-site {
  padding: 6rem 2rem;
  background: #e8f2ff;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem 0;
}

.explore-item {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(42,77,122,0.1);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.explore-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(42,77,122,0.2);
}

.explore-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2a4d7a, #1b2c3a);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.explore-item:hover::before {
  transform: scaleX(1);
}

.explore-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.explore-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #2a4d7a;
  margin-bottom: 1rem;
}

.explore-item p {
  color: #222;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.explore-link {
  display: inline-block;
  background: #2a4d7a;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.explore-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

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

.explore-link:hover {
  background: #1b2c3a;
  transform: translateY(-2px);
}

/* Project Detail Pages */
.project-hero {
  padding: 8rem 2rem 4rem 2rem;
  background: #e8f2ff;
  position: relative;
}

.project-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.project-hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(42,77,122,0.15);
}

.project-hero-image img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  background: #f5f7fa;
}

.project-hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #2a4d7a;
  margin-bottom: 0.5rem;
}

.project-hero-text h2 {
  font-size: 1.5rem;
  color: #1b2c3a;
  margin-bottom: 1.5rem;
}

.project-subtitle {
  font-size: 1.1rem;
  color: #222;
  line-height: 1.6;
  margin-bottom: 2rem;
}

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

.stat {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(42,77,122,0.08);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: #2a4d7a;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}

.project-details {
  padding: 2rem 2rem;
  background: #fff;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.project-content {
  margin-top: 1rem;
}

.project-description h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #2a4d7a;
  margin: 0.5rem 0 1rem 0;
}

.project-description p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #222;
  margin-bottom: 1.5rem;
}

.project-description ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.project-description li {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #222;
  margin-bottom: 0.5rem;
}

.project-gallery {
  padding: 1rem 2rem 6rem 2rem;
  background: #f8faff;
}

.gallery-comparison {
  display: grid;
  gap: 4rem;
  margin-top: 3rem;
}

.comparison-item {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(42,77,122,0.1);
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.before, .after {
  text-align: center;
}

.before h3, .after h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2a4d7a;
  margin-bottom: 1rem;
}

.before img, .after img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.comparison-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #2a4d7a;
  text-align: center;
  margin-top: 1rem;
}

.project-lessons {
  padding: 6rem 2rem;
  background: #fff;
}

.lessons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.lesson-card {
  background: #f8faff;
  padding: 2rem;
  border-radius: 16px;
  border-left: 4px solid #2a4d7a;
  transition: transform 0.3s ease;
}

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

.lesson-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #2a4d7a;
  margin-bottom: 1rem;
}

.lesson-card p {
  color: #222;
  line-height: 1.6;
}

.education-entry {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(42,77,122,0.08);
  padding: 2rem;
  margin-bottom: 2rem;
}

.education-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: #e0e6ed;
}

.education-info {
  flex: 1;
}
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .hero-visual {
    justify-content: center;
  }
  .work-item {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .project-item {
    margin-bottom: 1rem;
  }
  .nav-links {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .section-title {
    margin: 4rem 0 2rem 0;
    font-size: 2rem;
  }
  .hero {
    padding: 6rem 2rem 4rem 2rem;
  }
  .projects-section {
    padding: 4rem 2rem;
  }
  
  /* Project detail responsive */
  .project-hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .project-hero-text h1 {
    font-size: 2.5rem;
  }
  
  .project-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .before-after {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .lessons-grid {
    grid-template-columns: 1fr;
  }
  
  /* About and Explore responsive */
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .explore-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .explore-item {
    padding: 2rem 1.5rem;
  }
  

}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5rem 2rem 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    margin: 1rem 0;
    font-size: 1.2rem;
  }
  
  .nav-container {
    justify-content: space-between;
  }
} 

.hero-dance-img {
  width: 220px;
  height: 330px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(42,77,122,0.10);
  margin-bottom: 0;
  background: #e0e6ed;
  display: block;
}

@media (max-width: 800px) {
  .hero-grid-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .hero-dance-img {
    width: 100%;
    max-width: 220px;
    height: 330px;
    margin: 0 auto;
  }
} 

.white-box {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(42,77,122,0.08);
  margin-bottom: 2rem;
}

/* Dance Page Section Spacing Fixes */
.professional-highlights {
  padding: 1rem 2rem 4rem 2rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.dance-journey {
  padding: 1rem 2rem 4rem 2rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.professional-highlights .white-box,
.dance-journey .white-box {
  margin-top: 0 !important;
  padding-top: 1rem !important;
}

.professional-highlights .section-title,
.dance-journey .section-title {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Override default section margin for dance page */
.professional-highlights,
.dance-journey {
  margin-bottom: 0 !important;
}

.gallery-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(42,77,122,0.10);
  padding: 2rem;
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  aspect-ratio: 4/3;
  border-radius: 8px;
  background: #f5f7fa;
  margin-bottom: 0.75rem;
}

.gallery-label {
  font-size: 1rem;
  color: #2a4d7a;
  font-weight: 500;
  padding: 0.5rem 0;
}

@media (max-width: 700px) {
  .gallery-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }
} 

/* Certifications Page Styles */
.certifications-section {
  padding: 6rem 2rem;
  background: #e8f2ff;
  margin: 0;
  position: relative;
}

.certifications-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0e6ed, transparent);
}

.certifications-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.certification-entry {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(42,77,122,0.1);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
}

.certification-entry:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(42,77,122,0.2);
}

.certification-entry::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2a4d7a, #1b2c3a);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.certification-entry:hover::before {
  transform: scaleX(1);
}

.certification-image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  overflow: hidden;
  position: relative;
  border-radius: 16px;
}

.certification-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.certification-entry:hover .certification-image img {
  transform: scale(1.08);
}

.certification-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(42,77,122,0.1) 100%);
  pointer-events: none;
}

.certification-info {
  flex: 1;
  padding: 0;
}

.certification-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #2a4d7a;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.certification-info p {
  color: #222;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.certification-info strong {
  color: #2a4d7a;
  font-weight: 600;
}

@media (max-width: 900px) {
  .certification-entry {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .certification-image {
    width: 100%;
    height: 250px;
  }
} 

/* Resume Page Styles - Updated */
.resume-section {
  padding: 6rem 2rem;
  background: #e8f2ff;
  margin: 0;
  position: relative;
}

.resume-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0e6ed, transparent);
}

.resume-category {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(42,77,122,0.1);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  margin-bottom: 3rem;
}

.resume-category:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(42,77,122,0.2);
}

.resume-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2a4d7a, #1b2c3a);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.resume-category:hover::before {
  transform: scaleX(1);
}

.resume-category-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
}

.resume-category-text {
  flex: 1;
}

.resume-category-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2a4d7a;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.resume-category-text p {
  color: #222;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.resume-category-text p:last-of-type {
  margin-bottom: 2rem;
}

.resume-category-image {
  flex-shrink: 0;
  width: 300px;
  height: 250px;
  object-fit: contain;
  border-radius: 16px;
  transition: transform 0.3s ease;
  background: #f5f7fa;
  display: block;
}

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

.resume-download-btn {
  display: inline-block;
  background: #2a4d7a;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.resume-download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

.resume-download-btn:hover::before {
  left: 100%;
}

.resume-download-btn:hover {
  background: #1b2c3a;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .resume-category-content {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }
  
  .resume-category-image {
    width: 100%;
    height: 200px;
  }
  
  .resume-category-text h3 {
    font-size: 1.6rem;
  }
  
  .resume-category-text p {
    font-size: 1rem;
  }
} 

/* Contact Page Styles - Updated */
.contact-section {
  padding: 6rem 2rem;
  background: #e8f2ff;
  margin: 0;
  position: relative;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 2rem 0;
}

.contact-form-section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(42,77,122,0.1);
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-form-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(42,77,122,0.15);
}

.contact-form-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2a4d7a;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 2px solid #e0e6ed;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  transition: all 0.3s ease;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2a4d7a;
  box-shadow: 0 0 0 3px rgba(42,77,122,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.submit-btn {
  background: #2a4d7a;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  background: #1b2c3a;
  transform: translateY(-2px);
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-info {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(42,77,122,0.1);
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(42,77,122,0.15);
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2a4d7a;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: #e8f2ff;
  transform: translateX(5px);
}

.contact-label {
  font-weight: 700;
  color: #2a4d7a;
  min-width: 80px;
}

.contact-item a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #2a4d7a;
}

.social-links {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(42,77,122,0.1);
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-links:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(42,77,122,0.15);
}

.social-links h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2a4d7a;
  margin-bottom: 2rem;
  text-align: center;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(42,77,122,0.1), transparent);
  transition: left 0.5s ease;
}

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

.social-link:hover {
  background: #e8f2ff;
  transform: translateX(5px);
  color: #2a4d7a;
}

.social-link.linkedin:hover {
  background: #0077b5;
  color: #fff;
}

.social-link.github:hover {
  background: #333;
  color: #fff;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

@media (max-width: 900px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-form-section,
  .contact-info,
  .social-links {
    padding: 2rem;
  }
  
  .contact-form-section h3,
  .contact-info h3,
  .social-links h3 {
    font-size: 1.6rem;
  }
} 

/* Graphs Container Styles */
.graphs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.clickable-graph {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(42,77,122,0.1);
}

.clickable-graph:hover:not(.enlarged) {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(42,77,122,0.2);
}

.clickable-graph.enlarged {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  max-width: 90vw;
  max-height: 90vh;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 1rem;
  transition: none;
  pointer-events: auto;
}

.clickable-graph.enlarged:hover {
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Overlay for enlarged images */
.graph-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 999;
  display: none;
}

.graph-overlay.active {
  display: block;
}

@media (max-width: 768px) {
  .graphs-container {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    padding: 1rem;
  }
  
  .clickable-graph {
    max-width: 100%;
  }
  
  .clickable-graph.enlarged {
    max-width: 95vw;
    max-height: 90vh;
    transform: translate(-50%, -50%);
    transition: none;
  }
  
  .clickable-graph.enlarged:hover {
    transform: translate(-50%, -50%);
  }
} 

/* Before/After Gallery Custom Styles for 553 Flower Avenue */
.project-gallery .gallery-comparison {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.project-gallery .before-after {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.project-gallery .comparison-item {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 2.5rem;
}

.project-gallery .before, .project-gallery .after {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
}

.project-gallery .before img, .project-gallery .after img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  margin-bottom: 0.75rem;
}

.project-gallery .gallery-label {
  font-size: 1.1rem;
  color: #2a4d7a;
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .project-gallery .comparison-item {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .project-gallery .before, .project-gallery .after {
    max-width: 100%;
  }
  .project-gallery .before img, .project-gallery .after img {
    max-width: 100%;
  }
} 