@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Yeseva+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Unica+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@700&display=swap');

:root {
  --primary-bg: #ffffff;
  --secondary-bg: #f8f9fa;
  --text-primary: #000000;
  --text-secondary: #333333;
  --nav-bg: rgba(108, 117, 125, 0.1);
  --gray-light: #e9ecef;
  --gray-medium: #6c757d;
  --gray-dark: #495057;
  --border-light: #dee2e6;
  --border-medium: #adb5bd;
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.15);
  --bg-overlay-1: rgba(0, 0, 0, 0.02);
  --bg-overlay-2: rgba(0, 0, 0, 0.04);
  --bg-overlay-3: rgba(0, 0, 0, 0.06);
  --bg-overlay-4: rgba(0, 0, 0, 0.08);
  --bg-overlay-5: rgba(0, 0, 0, 0.1);
  --bg-overlay-6: rgba(0, 0, 0, 0.12);
  --bg-overlay-7: rgba(0, 0, 0, 0.14);
  --bg-overlay-8: rgba(0, 0, 0, 0.16);
  --bg-overlay-9: rgba(0, 0, 0, 0.18);
  --accent-red: #ff4444;
  --accent-primary: #ff4444;
  --accent-secondary: #ff6666;
  --accent-tertiary: #ff8888;
  --accent-warm: #ff4444;
  --accent-cool: #ff4444;
  --white: #ffffff;
  --black: #000000;
  --gradient-primary: linear-gradient(135deg, #ff4444 0%, #ff6666 100%);
  --gradient-secondary: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  --gradient-accent: linear-gradient(135deg, #ff4444 0%, #ff8888 100%);
  --gradient-warm: linear-gradient(135deg, #ff4444 0%, #ff6666 100%);
  --shadow-navbar: rgba(220, 53, 69, 0.3);
}

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

html {
  background-color: transparent;
}

body {
  background-color: transparent;
}

.container {
  background-color: transparent;
}

/* Apply grey background only when NOT on landing page */
body:not(.landing-active) {
  background: #e8e8e8;
}

body:not(.landing-active) .container {
  background: #e8e8e8;
}

section {
  background-color: #e8e8e8 !important;
}



body {
  margin: 0;
  padding: 0;
  color: var(--text-primary);
  font-family: 'Lexend', 'Segoe UI', Arial, sans-serif;
  overflow-x: hidden;
  font-size: 15px;
  width: 100%;
}

h1, h2, h3, h4 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 {
  font-size: 2em;
  margin-bottom: 18px;
}

h2 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.1em;
  margin-bottom: 8px;
}

.container {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  height: 100vh;
  scroll-behavior: smooth;
}

section {
  min-width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
  padding: 8rem 4rem 6rem 4rem;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

section.in-viewport {
  padding-top: 40px;
}

section h1 {
  color: var(--accent-red);
  margin-bottom: 30px;
  font-size: 2.5em;
}

section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}



/* Navbar styles */
.navbar {
  padding: 15px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(15px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  height: 70px;
  overflow: visible;
  border-bottom: 2px solid rgba(220, 53, 69, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #dc3545 0%, #c82333 25%, #bd2130 50%, #6c757d 75%, #495057 100%);
  opacity: 0.8;
}

.navbar-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.navbar-left a {
  font-family: 'Unica One', cursive !important;
  font-size: 3.2em;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary) !important;
  text-shadow: 0 4px 24px var(--shadow-navbar), 0 2px 0 var(--primary-bg);
  padding-right: 48px;
  transition: all 0.3s ease;
  text-decoration: none !important;
  position: relative;
}

.navbar-left a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.navbar-left a:hover::after {
  width: 100%;
}

.navbar-right {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
}

.navbar-right ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.navbar-right a {
  font-family: 'Lexend', 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.8;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.1em;
  padding: 10px 15px;
  border-radius: 8px;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.navbar-right a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.navbar-right a:hover::after {
  width: 100%;
}

.navbar-right a:hover {
  color: var(--text-primary) !important;
}

.navbar-right a:active {
  color: var(--accent-primary) !important;
}

.navbar.expanded {
  height: 480px;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 1.5rem;
}

body.landing-active .navbar {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(108, 117, 125, 0.1) 50%, rgba(0, 0, 0, 0.08) 100%) !important;
}

/* Dark navbar for non-landing pages */
body:not(.landing-active) .navbar {
  background: #1a1a1a !important;
  border-bottom: 2px solid #333333 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Light text for navbar on non-landing pages */
body:not(.landing-active) .navbar-left a {
  color: #ffffff !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 2px 0 #ffffff;
}

/* Active link styling for left navbar - override landing page styles */
.navbar-left a.active,
body:not(.landing-active) .navbar-left a.active {
  color: #ff4444 !important;
  font-weight: 700 !important;
  opacity: 1;
}

/* Active link styling for right navbar - override landing page styles */
.navbar-right a.active,
body:not(.landing-active) .navbar-right a.active {
  color: #ff4444 !important;
  opacity: 1;
  font-weight: 700 !important;
}

body:not(.landing-active) .navbar-right a {
  color: #ffffff !important;
}

/* Light text for dropdown menu on all pages */
.navbar-dropdown-menu a {
  color: #ffffff !important;
}

.navbar-dropdown-menu a:hover {
  color: #ff4444 !important;
}

/* Light themed hamburger menu for all pages */
.hamburger-menu span {
  background-color: #ffffff !important;
}

.hamburger-menu:hover span {
  background-color: #ff4444 !important;
}



.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  margin-left: auto;
  align-self: center;
}

.hamburger-menu:hover span {
  background-color: var(--accent-primary);
}

.hamburger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.hamburger-menu.active {
  margin-top: -30px;
}

.navbar-dropdown {
  display: none;
  position: fixed;
  top: 90px;
  top: 75px;
  left: 0;
  width: 100%;
  background: var(--bg-overlay-13);
  box-shadow: 0 8px 32px var(--bg-overlay-13);
  border-radius: 0 0 16px 16px;
  z-index: 2000;
  padding: 1.5rem 0;
  transition: opacity 0.2s;
}

.navbar-dropdown.active {
  display: block;
}

.navbar-dropdown ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-dropdown ul li {
  width: 100%;
  text-align: center;
}

.navbar-dropdown a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1em;
  display: block;
  padding: 10px;
  transition: color 0.3s;
}

.navbar-dropdown a:hover {
  color: var(--accent-primary);
}

/* Check if navigation items overflow */
@media (max-width: 1200px) {
  .hamburger-menu {
    display: flex;
  }

  .navbar-right {
    display: none;
  }

  .navbar-dropdown {
    display: none;
  }
  .navbar-dropdown.active {
    display: block;
  }
}

@media (max-width: 700px) {
  .hamburger-menu {
    display: flex;
  }
  
  .navbar-right {
    display: none;
  }
  
  /* Horizontal scroll snap and momentum */
  .container {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  section {
    scroll-snap-align: start;
    min-width: 100vw;
    width: 100vw;
    height: auto;
    font-size: 0.92em;
    border-right: none;
  }
  h1 {
    font-size: 1.1em;
  }
  h2 {
    font-size: 1em;
  }
  h3 {
    font-size: 0.98em;
  }
  button, .contact-submit, .carousel-arrow, .skill-card, .project-card, .contact-card, .contact-card-modern {
    font-size: 0.9em !important;
    padding: 0.6em 0.8em !important;
    border-radius: 8px !important;
  }
  .carousel-arrow {
    width: 28px;
    height: 28px;
    font-size: 1em;
  }
  img, .profile-img-caro, .contact-card-img {
    max-width: 70px !important;
    max-height: 70px !important;
  }
  .skill-icon, .contact-card-detail-icon {
    font-size: 1em !important;
  }
  .project-tags span {
    font-size: 0.8em !important;
    padding: 3px 8px !important;
  }
  .project-card {
    min-width: 0;
    width: 98vw;
    margin: 0 auto;
    padding: 6px !important;
  }
  .project-card-front, .project-card-back {
    padding: 6px !important;
  }
  .contact-form input, .contact-form textarea {
    font-size: 0.95em !important;
    padding: 10px 10px !important;
  }
  .contact-instructions {
    font-size: 0.95em;
    padding: 8px 2vw 8px 2vw;
    max-width: 98vw;
    border-radius: 8px;
  }
}
@media (max-width: 500px) {
  section {
    font-size: 0.93em;
  }
  h1 {
    font-size: 1.1em;
  }
  .navbar {
    padding: 4px 0.5vw;
  }
  .navbar-left a {
    font-size: 1em;
    padding-right: 6px;
  }
  .navbar-right a {
    font-size: 0.89em;
    padding: 2px 4px;
    transition: all 0.3s ease;
  }
  

}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.contact-icon {
  color: var(--text-primary);
  font-size: 24px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.contact-icon:hover {
  color: var(--accent-red);
  transform: translateY(-3px);
}

/* Different colors for different contact icons */
.contact-icon[href*="mailto"] {
  color: #28a745 !important;
}

.contact-icon[href*="mailto"]:hover {
  color: #1e7e34 !important;
}

.contact-icon[href*="divyamk.com"] {
  color: #ffc107 !important;
}

.contact-icon[href*="divyamk.com"]:hover {
  color: #e0a800 !important;
}

.contact-icon[href*="linkedin"] {
  color: #007bff !important;
}

.contact-icon[href*="linkedin"]:hover {
  color: #0056b3 !important;
}

/* Alternative selectors for Font Awesome icons */
.contact-icon .fa-envelope {
  color: #28a745 !important;
}

.contact-icon .fa-globe {
  color: #ffc107 !important;
}

.contact-icon .fa-linkedin {
  color: #007bff !important;
}

.floating-contact-card .resume-download-btn {
  width: 100%;
  text-align: center;
  margin-top: 0;
}

.floating-contact-card .contact-card-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  object-fit: cover;
}

.navbar-dropdown-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 1rem 0 6rem 0 !important;
  list-style: none;
  z-index: 1001;
  background: none;
  box-shadow: none;
  border-radius: 0;
  transition: opacity 0.3s, max-height 0.3s;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

/* Force hamburger menu padding */
.navbar .navbar-dropdown-menu {
  padding: 1rem 0 8rem 0 !important;
}

.navbar.expanded .navbar-dropdown-menu {
  padding: 1rem 0 8rem 0 !important;
}

/* Very specific targeting for hamburger menu */
.hamburger-menu-dropdown {
  padding: 1rem 0 8rem 0 !important;
}

.navbar.expanded .hamburger-menu-dropdown {
  padding: 1rem 0 8rem 0 !important;
}

.navbar.expanded .navbar-dropdown-menu {
  display: flex;
  opacity: 1;
  max-height: 800px;
  overflow: visible;
}

.navbar-dropdown-menu li {
  width: 100%;
  text-align: center;
  margin: 0.3rem 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
}

.navbar-dropdown-menu li:first-child {
  margin-top: 2rem;
}

.navbar.expanded .navbar-dropdown-menu li {
  opacity: 1;
  transform: translateY(0);
}

.navbar-dropdown-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1em;
  display: block;
  padding: 10px;
  transition: color 0.3s;
  font-weight: 500;
}

.navbar-dropdown-menu a:hover {
  color: var(--accent-primary);
}

/* NEW SCROLLBAR STYLES */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #444444 #1a1a1a;
}

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
  background: #1a1a1a;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 0;
}

::-webkit-scrollbar-thumb {
  background: rgba(68, 68, 68, 0.4);
  border-radius: 6px;
  border: 2px solid #1a1a1a;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 68, 68, 0.6);
  border: 2px solid #1a1a1a;
}

::-webkit-scrollbar-corner {
  background: #1a1a1a;
}

/* Hide horizontal scrollbar */
::-webkit-scrollbar:horizontal {
  display: none !important;
  height: 0 !important;
}

::-webkit-scrollbar-thumb:horizontal {
  display: none !important;
}

::-webkit-scrollbar-track:horizontal {
  display: none !important;
}

/* Additional horizontal scrollbar hiding */
*::-webkit-scrollbar:horizontal {
  display: none !important;
  height: 0 !important;
}

*::-webkit-scrollbar-thumb:horizontal {
  display: none !important;
}

*::-webkit-scrollbar-track:horizontal {
  display: none !important;
}

/* Hide horizontal scrollbar on specific elements */
.container::-webkit-scrollbar:horizontal {
  display: none !important;
  height: 0 !important;
}

.container::-webkit-scrollbar {
  height: 0 !important;
}

body::-webkit-scrollbar:horizontal {
  display: none !important;
  height: 0 !important;
}

html::-webkit-scrollbar:horizontal {
  display: none !important;
  height: 0 !important;
}

/* Force hide horizontal scrollbars only */
.container {
  scrollbar-width: none;
}


