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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

/* Responsive font scaling */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
}

/* Increase text brightness */
.project-info h3,
.about-card h3,
.timeline-content h3,
.preview-content h3 {
  color: #fff; /* Pure white for headings */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Add shadow for better contrast */
}

/* Make regular text brighter */
.project-info p,
.about-card p,
.timeline-content p,
.preview-content p {
  color: rgba(
    255,
    255,
    255,
    0.9
  ); /* Slightly off-white for better readability */
}

body {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.6;
  color: #1a1a1a;
  font-size: 1.125rem;
  background: transparent;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  position: relative;
}

@media (max-width: 768px) {
  body {
    font-size: 1rem;
    line-height: 1.5;
  }
}

.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -9999;
  pointer-events: none;
  background: url("assets/bg2.png") center/cover no-repeat;
  opacity: 0.6;
}

/* Old Navigation Bar - Commented Out */
/* .navbar {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  padding: 1rem;
  z-index: 1000;
}

.nav-dots {
  display: flex;
  flex-direction: column;
  margin-right: 1rem;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #333;
  border-radius: 50%;
  margin-bottom: 5px;
  transition: background-color 0.3s ease;
}

.dot:hover {
  background-color: #4db8ff;
}

.nav-menu {
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border-radius: 10px;
}

.nav-menu a {
  color: #333;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 1rem;
}

.nav-menu a:hover {
  color: #4db8ff;
} */

/* Navigation Bar */
.navbar {
  position: fixed;
  top: clamp(15px, 3vw, 20px);
  right: clamp(15px, 3vw, 20px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.nav-dots {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: clamp(8px, 2vw, 10px);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot {
  width: 5px;
  height: 5px;
  background-color: #4a4a4a;
  margin: 4px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.nav-menu {
  background: rgba(128, 128, 128, 0.3);
  backdrop-filter: blur(10px);
  padding: clamp(12px, 3vw, 15px);
  border-radius: 15px;
  margin-top: 10px;
  display: none;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  border: 1px solid rgba(128, 128, 128, 0.4);
  min-width: 150px;
}

.nav-menu.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
}

.nav-menu a {
  color: white;
  text-decoration: none;
  padding: clamp(8px, 2vw, 10px) clamp(15px, 4vw, 20px);
  margin: 5px 0;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: clamp(0.9rem, 2vw, 1rem);
  display: block;
  text-align: center;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Animation for dots when menu is active */
.nav-dots.active .dot:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  width: 20px;
  border-radius: 3px;
}

.nav-dots.active .dot:nth-child(2) {
  opacity: 0;
}

.nav-dots.active .dot:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  width: 20px;
  border-radius: 3px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c3e50;
  position: relative;
}

/* Element1 Image Positioning */
.hero-element-image {
  position: absolute;
  top: 10%;
  right: -5%;
  width: 200px;
  height: auto;
  z-index: 2;
  opacity: 0.8;
  transition: all 0.3s ease;
  pointer-events: none;
}

.hero-element-image:hover {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .hero-element-image {
    top: 5%;
    right: -10%;
    width: 150px;
  }
}

@media (max-width: 768px) {
  .hero-element-image {
    display: none;
  }
}

/* Floating Images Animation */
.floating-images {
  position: absolute;
  right: 5%;
  top: 5%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-img {
  max-width: 100px;
  animation: bounce 3s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.img1 {
  width: 120px;
  animation-delay: 0s;
}

.img2 {
  width: 80px;
  animation-delay: 1s;
}

.img3 {
  width: 60px;
  animation-delay: 0.5s;
}

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

.floating-img:hover {
  animation-play-state: paused;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Add these new styles and modify the existing ones */

.glass-container {
  background: rgba(128, 128, 128, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: clamp(15px, 4vw, 30px);
  padding: clamp(1.5rem, 5vw, 3rem);
  width: min(95%, 1200px);
  margin: 0 auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

.hero {
  width: 100%;
  min-height: 100vh;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c3e50;
  position: relative;
  padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 2vw, 0);
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 2rem 1rem;
  }
}

.hero-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}

/* Left Side Styles */
.hero-left {
  flex: 0 0 40%;
}

.hero-name {
  font-family: "Cinzel Decorative", serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  line-height: 1.1;
  word-break: break-word;
}

.hero-designation {
  font-family: "Cinzel", serif;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: #44525e;
  font-weight: 500;
  margin: 0;
}

/* Right Side Styles */
.hero-right {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-left {
    flex: none;
    width: 100%;
  }

  .hero-right {
    width: 100%;
  }

  .hero-name {
    font-size: 2.8rem;
  }

  .build-cards-container {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .glass-container {
    width: 95%;
    padding: 1.5rem;
  }

  .hero-name {
    font-size: 2.2rem;
  }

  .hero-designation {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .build-section-title {
    font-size: 1.2rem;
  }

  .build-card {
    min-width: 150px;
    padding: 0.8rem 1rem;
  }

  .build-card-text {
    font-size: 1rem;
  }
}

.hero-cta-container {
  text-align: center;
  margin-top: 2rem;
}

.hero-know-more-link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
  font-size: 1.1rem;
  font-family: "Cormorant Garamond", serif;
}

.hero-know-more-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a1a1a;
  transition: width 0.3s ease;
}

.hero-know-more-link:hover::after {
  width: 100%;
}

@media (max-width: 480px) {
  .glass-container {
    padding: 1rem;
    margin: 1rem;
    width: calc(100% - 2rem);
  }

  .hero-name {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-designation {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .build-section-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .build-card {
    min-width: 120px;
    padding: 0.6rem 0.8rem;
  }

  .build-card-text {
    font-size: 0.9rem;
  }

  .hero-know-more-link {
    font-size: 1rem;
  }
}

.hero-description {
  font-family: "Cormorant Garamond", serif;
  color: #1a1a1a;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  line-height: 1.6;
  margin: 0 0 2rem 0;
  font-weight: 400;
  text-align: left;
}

@media (max-width: 1024px) {
  .hero-description {
    text-align: center;
  }
}

.what-i-build-section {
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.build-section-title {
  font-family: "Cinzel", serif;
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-align: left;
}

.build-cards-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  width: 100%;
}

@media (max-width: 768px) {
  .build-cards-container {
    gap: 0.8rem;
    padding: 0.8rem 0;
  }
}

.skills-grid-about {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding: 1rem 0;
  max-width: 100%;
  width: 100%;
}

.skill-card {
  background: rgba(128, 128, 128, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: 12px;
  padding: 0.8rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(90, 108, 125, 0.08);
}

.skill-card:hover {
  background: rgba(128, 128, 128, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(90, 108, 125, 0.15);
}

.skill-icon {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  display: block;
}

.skill-card-text {
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .skills-grid-about {
    grid-template-columns: repeat(2, 1fr);
  }
}

.build-cards-container::-webkit-scrollbar {
  height: 6px;
}

.build-cards-container::-webkit-scrollbar-track {
  background: rgba(128, 128, 128, 0.1);
  border-radius: 3px;
}

.build-cards-container::-webkit-scrollbar-thumb {
  background: rgba(90, 108, 125, 0.4);
  border-radius: 3px;
}

.build-card {
  background: rgba(128, 128, 128, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-left: 3px solid #5a6c7d;
  border-radius: 12px;
  padding: clamp(0.8rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.2rem);
  min-width: clamp(160px, 25vw, 200px);
  flex-shrink: 0;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(90, 108, 125, 0.08);
}

.build-card:hover {
  background: rgba(128, 128, 128, 0.4);
  transform: translateY(-3px);
  border-left-color: #2c3e50;
  box-shadow: 0 12px 30px rgba(90, 108, 125, 0.15);
}

.build-card-text {
  color: #1a1a1a;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 500;
  line-height: 1.3;
}

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

.show-more-link {
  color: #4db8ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.show-more-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #4db8ff;
  transition: width 0.3s ease;
}

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

/* Floating Guide Animation */
.floating-guide {
  position: fixed;
  bottom: clamp(15px, 3vw, 20px);
  right: clamp(15px, 3vw, 20px);
  z-index: 998;
  pointer-events: auto;
  transition: all 4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes robotJump {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

@keyframes robotWiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-5deg);
  }
}

@keyframes hoverBounce {
  0% {
    transform: translateY(0) scale(1);
  }
  30% {
    transform: translateY(-40px) scale(1.1);
  }
  60% {
    transform: translateY(-20px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.floating-guide lottie-player {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  cursor: pointer;
}

.floating-guide:hover lottie-player {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

@keyframes guideBounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Hide on mobile to avoid clutter */
@media (max-width: 768px) {
  .floating-guide {
    display: none;
  }
}

@keyframes pulseBackground {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(77, 184, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 50px rgba(77, 184, 255, 0.4);
  }
}

@keyframes pulseNode {
  0%,
  100% {
    transform: scale(1);
    background: #4db8ff;
  }
  50% {
    transform: scale(1.3);
    background: #ffffff;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

@keyframes showLine {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

/* Performance optimizations */
.gpu-accelerated {
  transform: translateZ(0);
  will-change: transform;
}

.smooth-scroll {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Image optimization */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lazy loading support */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .ai-animation {
    width: 300px;
    height: 300px;
  }

  .neural-network {
    gap: 40px;
  }

  .node {
    width: 15px;
    height: 15px;
  }

  .node::after {
    width: 40px;
    right: -40px;
  }
}

@media (max-width: 768px) {
  .ai-animation {
    width: 250px;
    height: 250px;
  }

  .neural-network {
    gap: 30px;
  }

  .node-column {
    gap: 30px;
  }
}

/* Button Styles */
.cta-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
}

.cta-button {
  padding: 1.2rem 2.5rem;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button.primary {
  background: #4db8ff;
  color: #fff;
  border: none;
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid #4db8ff;
  color: #fff;
}

.cta-button:hover {
  transform: translateY(-2px);
}

.cta-button.primary:hover {
  background: #3399ff;
}

.cta-button.secondary:hover {
  background: rgba(77, 184, 255, 0.1);
}



/* About Section */
.about {
  min-height: auto;
  background: transparent;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 3vw, 2rem);
  color: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
  padding: 0 clamp(1rem, 3vw, 2rem);
  width: 100%;
}

.about h2 {
  font-family: "Cinzel", serif;
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: #1a1a1a;
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2rem);
  align-items: start;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 100%;
}

.skills-category {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 15px; /* Slightly reduced border radius */
  padding: 1.2rem; /* Slightly reduced padding */
}

.skills-category h3 {
  color: #4db8ff;
  margin-bottom: 0.8rem; /* Reduced margin */
  font-size: 1.1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem; /* Reduced gap between tags */
}

.skill-tag {
  background: rgba(77, 184, 255, 0.15);
  color: #fff;
  padding: 0.4rem 0.8rem; /* Slightly reduced padding */
  border-radius: 15px;
  font-size: 0.85rem; /* Slightly smaller font */
  transition: all 0.3s ease;
  border: 1px solid rgba(77, 184, 255, 0.3);
}



.about-grid {
  display: grid;
  grid-template-columns: 60% 40%; /* 60-40 split */
  gap: 2rem;
  align-items: stretch; /* Ensure equal height */
}

.about-info {
  background: rgba(128, 128, 128, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: clamp(15px, 3vw, 25px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  height: fit-content;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.about-info:hover {
  transform: translateY(-5px);
  background: rgba(128, 128, 128, 0.5);
  box-shadow: 0 25px 60px rgba(139, 154, 139, 0.08),
    0 10px 25px rgba(168, 162, 158, 0.06);
}

.about-text {
  color: #2c3e50;
  font-weight: 400;
}

.about-intro {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  text-align: left;
}

@media (max-width: 768px) {
  .about-intro {
    text-align: left;
  }
}

.about-description {
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #1a1a1a;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  text-align: left;
}

@media (max-width: 768px) {
  .about-description {
    text-align: left;
  }
}

.personal-details {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.detail-item i {
  color: #4db8ff;
  margin-right: 1rem;
  width: 20px;
}

.interests h3 {
  color: #4db8ff;
  margin-bottom: 1rem;
}

/* Skills Styling */
.skills-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.skills-category {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
}

.skills-category h3 {
  color: #4db8ff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skill-tag {
  background: rgba(77, 184, 255, 0.15);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(77, 184, 255, 0.3);
}

.skill-tag:hover {
  background: rgba(77, 184, 255, 0.25);
  transform: translateY(-2px);
}



/* Container and Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.section-padding {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-responsive {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2rem);
}

/* Responsive Typography */
.heading-xl {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
}

.heading-lg {
  font-size: clamp(2rem, 5vw, 2.5rem);
  line-height: 1.2;
}

.heading-md {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.3;
}

.text-lg {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  line-height: 1.6;
}

.text-base {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  line-height: 1.5;
}

/* Responsive Spacing */
.space-y-sm > * + * {
  margin-top: clamp(0.5rem, 2vw, 1rem);
}

.space-y-md > * + * {
  margin-top: clamp(1rem, 3vw, 1.5rem);
}

.space-y-lg > * + * {
  margin-top: clamp(1.5rem, 4vw, 2rem);
}

/* Mobile-first breakpoints */
@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:text-left {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .lg\:flex-row {
    flex-direction: row;
  }
}

/* Improved focus states for accessibility */
*:focus {
  outline: 2px solid #4db8ff;
  outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid #4db8ff;
  outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Low-end device optimizations */
.reduce-animations * {
  animation-duration: 0.1s !important;
  transition-duration: 0.1s !important;
}

.reduce-animations .glass-container,
.reduce-animations .service-card,
.reduce-animations .project-card,
.reduce-animations .testimonial-card {
  backdrop-filter: none !important;
  background: rgba(128, 128, 128, 0.6) !important;
}

/* Viewport height fix for mobile browsers */
.hero {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
}

/* Better touch targets */
@media (max-width: 768px) {
  .nav-menu a,
  .social-link,
  .submit-btn,
  .show-more-btn {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .project-link,
  .blog-link-main,
  .project-link-grid {
    padding: 12px 16px;
    display: inline-block;
  }
}

/* Improved scrolling performance */
.testimonials-container,
.build-cards-container {
  scroll-snap-type: x mandatory;
}

.testimonial-card,
.build-card {
  scroll-snap-align: start;
}

/* Better contrast for readability */
@media (prefers-contrast: high) {
  .glass-container,
  .service-card,
  .project-card,
  .testimonial-card,
  .about-info,
  .what-i-build-container {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #000 !important;
  }
  
  .glass-container *,
  .service-card *,
  .project-card *,
  .testimonial-card *,
  .about-info *,
  .what-i-build-container * {
    color: #000 !important;
  }
}

/* Print styles */
@media print {
  .navbar,
  .floating-guide,
  .nav-dots {
    display: none !important;
  }
  
  .glass-container,
  .service-card,
  .project-card {
    background: white !important;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
  
  .hero {
    min-height: auto !important;
  }
}

/* Projects Section */
.projects {
  min-height: auto;
  background: transparent;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 3vw, 2rem);
  color: #2c3e50;
  position: relative;
}

.projects-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  width: 100%;
}

.projects h2 {
  font-family: "Cinzel", serif;
  text-align: center;
  margin-bottom: clamp(2rem, 6vw, 4rem);
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: #1a1a1a;
  font-weight: 700;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
}

.project-card {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 2rem);
  background: rgba(128, 128, 128, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: clamp(12px, 3vw, 15px);
  padding: clamp(1.5rem, 4vw, 2rem);
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .project-card {
    flex-direction: column;
    text-align: center;
  }
  
  .project-card.reverse {
    flex-direction: column;
  }
}

.project-card:hover {
  transform: translateY(-8px);
  background: rgba(128, 128, 128, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.project-card.reverse {
  flex-direction: row-reverse;
}

.project-info {
  flex: 1;
  padding: 1rem;
}

.project-info h3 {
  color: #1a1a1a;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
  font-weight: 600;
}

.project-info p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #1a1a1a;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
}

.project-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  min-height: 200px;
}

@media (max-width: 768px) {
  .project-image {
    width: 100%;
    max-width: 400px;
  }
}

.project-image img {
  width: 100%;
  height: clamp(200px, 30vw, 300px);
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #4db8ff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.project-link:hover {
  background-color: #3399ff;
  transform: translateY(-2px);
}



/* work section */

/* .work {
  min-height: 100vh;
  padding: 5rem 2rem;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("assets/maxim-berg-PCB-7iJh1Fk-unsplash.jpg") center/cover;
  color: #fff;
  position: relative;
} */

/* .work {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("assets/maxim-berg-PCB-7iJh1Fk-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5rem 2rem;
  color: #fff;
}

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

.work h2 {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.timeline {
  position: relative;
  padding: 2rem 0;
} */
.work {
  min-height: auto; /* Changed from 100vh to auto */
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("assets/maxim-berg-PCB-7iJh1Fk-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 4rem 2rem; /* Reduced from 5rem to 4rem */
  color: #fff;
}

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

.work h2 {
  text-align: center;
  margin-bottom: 3rem; /* Reduced from 4rem to 3rem */
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.timeline {
  position: relative;
  padding: 1rem 0; /* Reduced from 2rem to 1rem */
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    #4db8ff,
    #4db8ff,
    transparent
  );
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4db8ff;
  box-shadow: 0 0 10px rgba(77, 184, 255, 0.5);
}

.timeline-content {
  width: 45%;
  padding: 1.5rem;
  /* background: rgba(255, 255, 255, 0.1); */
  border-radius: 10px;
  position: relative;
  margin-left: 4rem;
  /* backdrop-filter: blur(5px); */
  background: rgba(0, 0, 0, 0.4); /* Darker background */
  backdrop-filter: blur(5px);

  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: 4rem;
}

.timeline-date {
  color: #4db8ff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.timeline-content h3 {
  color: #4db8ff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.timeline-content h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.achievement-list {
  list-style: none;
  padding: 0;
}

.achievement-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.achievement-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #4db8ff;
}

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

/* Hover effect */
.timeline-content:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
  /* background: rgba(255, 255, 255, 0.15); */
  background: rgba(0, 0, 0, 0.5);
}

/* Responsive design */
@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-dot {
    left: 30px;
  }

  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 60px !important;
  }
}

/* blogs */
/* Blog Preview Section */
.blog-preview {
  padding: 5rem 2rem;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("assets/maxim-berg-PCB-7iJh1Fk-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
}

.preview-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  /* background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px); */
  background: rgba(0, 0, 0, 0.4); /* Darker background */
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.preview-content:hover {
  transform: translateY(-10px);
}

.preview-content h3 {
  color: #4db8ff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.preview-content h4 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.preview-content p {
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.preview-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.blog-cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: #4db8ff;
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.blog-cta-button:hover {
  background: transparent;
  border-color: #4db8ff;
  /* border-color: #fff715; */

  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(77, 184, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .preview-content {
    padding: 1.5rem;
  }

  .preview-content h4 {
    font-size: 1.5rem;
  }

  .preview-meta {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Active nav link style */
.nav-menu a.active {
  color: #4db8ff;
  font-weight: 600;
}

/* blogs.html */
/* Blogs page background and overlay */
.blogs-page {
  min-height: 100vh;
  background: transparent;
  padding: 4rem 2rem;
}

/* Enhanced blog cards */
.blog-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(77, 184, 255, 0.3);
}

/* Make blog content pop more */
.blog-info {
  padding: 1.5rem;
}

.blog-date {
  color: #4db8ff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.blog-info h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Enhanced blog tags */
.blog-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  background: rgba(77, 184, 255, 0.15);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  border: 1px solid rgba(77, 184, 255, 0.3);
}

/* Enhanced read more button */
.read-more {
  display: inline-block;
  color: #4db8ff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #fff;
  transform: translateX(5px);
}

/* Blog header styling */
.blogs-header {
  text-align: center;
  margin-bottom: 3rem;
  color: #fff;
}

.blogs-header h1 {
  font-family: "Cinzel", serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.blogs-header p {
  color: #1a1a1a;
  font-size: 1.3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blogs-page {
    padding: 3rem 1rem;
  }

  .blog-card {
    margin-bottom: 2rem;
  }

  .blogs-header h1 {
    font-size: 2rem;
  }
}

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

/* Enhanced Blog Card Styles */
.blog-card {
  background: rgba(128, 128, 128, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(128, 128, 128, 0.5);
}

.blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1) rotate(2deg);
}

.blog-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  color: white;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.blog-info h3 {
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  line-height: 1.4;
}

.blog-info p {
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex: 1;
  font-size: 1.1rem;
}

.blog-tags {
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(0, 0, 0, 0.2);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.tag:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.read-more {
  background: rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: auto;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.read-more:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.read-more:hover::after {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .blogs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .blogs-header h1 {
    font-size: 2rem;
  }

  .blogs-header p {
    font-size: 1rem;
  }

  .blogs-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.5rem;
  }

  .blog-card {
    margin-bottom: 1rem;
  }
}

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

.blog-card {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger animation for multiple cards */
.blog-card:nth-child(2) {
  animation-delay: 0.2s;
}

.blog-card:nth-child(3) {
  animation-delay: 0.4s;
}

.blog-card:nth-child(4) {
  animation-delay: 0.6s;
}

/* Optional: Add a back button specifically for blogs */
.back-button {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(128, 128, 128, 0.3);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid rgba(128, 128, 128, 0.4);
}

.back-button:hover {
  background: rgba(128, 128, 128, 0.5);
  transform: translateX(-5px);
}

.back-button::before {
  content: "←";
  margin-right: 8px;
}
/* Contact Form Styles */
.contact-main-container {
  display: flex;
  gap: clamp(1.5rem, 4vw, 2rem);
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .contact-main-container {
    flex-direction: column;
  }
}

.contact-form-container {
  flex: 1 1 65%;
  background: rgba(128, 128, 128, 0.4) !important;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: clamp(15px, 3vw, 20px);
  padding: clamp(1.5rem, 4vw, 2rem) !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: auto !important;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .contact-form-container {
    flex: 1 1 100%;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

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

.form-group label {
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-group input,
.form-group textarea {
  padding: clamp(0.6rem, 2vw, 0.8rem);
  border: 1px solid rgba(128, 128, 128, 0.4);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #1a1a1a;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-family: "Cormorant Garamond", serif;
  transition: all 0.3s ease;
  width: 100%;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
  max-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(128, 128, 128, 0.6);
  background: rgba(255, 255, 255, 0.2);
}

.submit-btn {
  padding: clamp(0.8rem, 2.5vw, 1rem) clamp(1.5rem, 4vw, 2rem);
  background: rgba(128, 128, 128, 0.4);
  color: #1a1a1a;
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: 10px;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: rgba(128, 128, 128, 0.6);
  transform: translateY(-2px);
}

.form-notification {
  background: rgba(107, 142, 107, 0.2);
  color: #1a1a1a;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  font-style: italic;
  display: none;
  margin-top: 1rem;
  border: 1px solid rgba(107, 142, 107, 0.3);
  transition: all 0.3s ease;
}

.social-links-column {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 2vw, 1rem);
}

@media (max-width: 768px) {
  .social-links-column {
    flex: 1 1 100%;
  }
}

.social-item {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1rem);
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .social-item {
    justify-content: center;
  }
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(35px, 8vw, 40px);
  height: clamp(35px, 8vw, 40px);
  background: rgba(128, 128, 128, 0.3);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(128, 128, 128, 0.4);
  border-radius: 50%;
  color: #1a1a1a;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.social-link:hover {
  background: rgba(128, 128, 128, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(128, 128, 128, 0.2);
}

.social-card {
  flex: 1;
  background: rgba(128, 128, 128, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: 12px;
  padding: clamp(0.5rem, 2vw, 0.6rem) clamp(0.8rem, 2.5vw, 1rem);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  min-width: 0;
}

@media (max-width: 480px) {
  .social-card {
    flex: 1 1 100%;
    text-align: center;
  }
}

.social-card:hover {
  background: rgba(128, 128, 128, 0.4);
  transform: translateY(-2px);
}

.social-text {
  color: #1a1a1a;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  font-weight: 500;
  font-family: "Cormorant Garamond", serif;
  word-break: break-word;
}



/* Contact Section Styles */
.contact {
  min-height: auto;
  background: transparent;
  padding: clamp(2rem, 6vw, 3rem) clamp(1rem, 3vw, 2rem);
  color: #1a202c;
}



.contact-content {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(1rem, 3vw, 2rem);
  width: 100%;
}

.contact h2 {
  font-family: "Cinzel", serif;
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: #1a202c;
  font-weight: 700;
}

.contact-description {
  color: #1a1a1a;
  margin-bottom: clamp(2rem, 4vw, 2.5rem);
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 500;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 250px); /* Fixed 4 columns of 250px each */
  gap: 1.5rem;
  padding: 1rem;
  justify-content: center;
}

.contact-card {
  background: rgba(128, 128, 128, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(128, 128, 128, 0.4);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-card:hover {
  transform: translateY(-8px);
  background: rgba(128, 128, 128, 0.5);
  box-shadow: 0 25px 50px rgba(107, 142, 107, 0.15);
}

.contact-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: #6b8e6b;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.contact-card h3 {
  color: #1a202c;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-link {
  color: #1a202c;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  background: rgba(107, 142, 107, 0.1);
  transition: all 0.3s ease;
  margin-top: 1rem;
  display: inline-block;
  min-width: 180px;
  border: 1px solid rgba(107, 142, 107, 0.2);
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-link:hover {
  background: rgba(107, 142, 107, 0.2);
  color: #1a202c;
  border-color: rgba(107, 142, 107, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 142, 107, 0.15);
}

/* Animation for cards */
.contact-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.contact-card:nth-child(1) {
  animation-delay: 0.1s;
}
.contact-card:nth-child(2) {
  animation-delay: 0.2s;
}
.contact-card:nth-child(3) {
  animation-delay: 0.3s;
}
.contact-card:nth-child(4) {
  animation-delay: 0.4s;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .contact {
    padding: 3rem 1rem;
  }

  .contact h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(180px, 220px)
    ); /* Even smaller on mobile */
    gap: 1rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .contact-link {
    min-width: 140px;
    padding: 0.5rem 1rem;
  }
}

/* Services Page Styles */
.services-page {
  min-height: 100vh;
  background: transparent;
  padding: 4rem 2rem;
  color: #1a1a1a;
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-header h1 {
  font-family: "Cinzel", serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.services-header p {
  color: #1a1a1a;
  font-size: 1.3rem;
}

/* Services Section */
.services {
  min-height: auto;
  background: transparent;
  padding: clamp(3rem, 8vw, 4rem) clamp(1rem, 3vw, 2rem);
  color: #1a202c;
}

.services-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(1rem, 3vw, 2rem);
  width: 100%;
}

.services h2 {
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
  color: #1a202c;
  font-weight: 700;
}

.services-description {
  color: #1a1a1a;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

/* New code */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
}

.services-grid::-webkit-scrollbar {
  height: 8px;
}

.services-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.services-grid::-webkit-scrollbar-thumb {
  background: rgba(77, 184, 255, 0.5);
  border-radius: 4px;
}

.services-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(77, 184, 255, 0.7);
}

/* Services Section styling */
.service-card {
  background: rgba(128, 128, 128, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: clamp(15px, 3vw, 25px);
  padding: clamp(1.5rem, 4vw, 2rem);
  transition: all 0.3s ease;
  display: flex;
  gap: clamp(1.5rem, 4vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
  height: auto;
  min-height: auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .service-card {
    flex-direction: column;
    text-align: center;
  }
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(139, 154, 139, 0.12),
    0 15px 30px rgba(168, 162, 158, 0.08);
  background: rgba(128, 128, 128, 0.5);
}

.service-left {
  flex: 1;
}

.service-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-logo i {
  font-size: 2rem;
  color: #1a1a1a;
}

.service-info h3 {
  color: #1a1a1a;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 3rem;
  color: #4db8ff;
}

.service-left h3 {
  color: #1a1a1a;
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  margin-bottom: 0.5rem;
  font-family: "Cinzel", serif;
  font-weight: 700;
}

.service-tagline {
  color: #1a1a1a;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  line-height: 1.5;
  text-align: left;
  font-family: "Cormorant Garamond", serif;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .service-tagline {
    text-align: center;
  }
}

.service-connect-link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
}

.service-connect-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a1a1a;
  transition: width 0.3s ease;
}

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

.service-right {
  flex: 1;
}

.service-offerings h4 {
  color: #1a1a1a;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  margin-bottom: 1rem;
  font-family: "Cinzel", serif;
  font-weight: 600;
  text-align: left;
  margin-left: clamp(0.5rem, 2vw, 1rem);
}

@media (max-width: 768px) {
  .service-offerings h4 {
    text-align: center;
    margin-left: 0;
  }
}

.offerings-list {
  list-style: none;
  padding: 0;
  margin-bottom: auto;
  margin-left: clamp(0.5rem, 2vw, 1rem);
}

@media (max-width: 768px) {
  .offerings-list {
    margin-left: 0;
    text-align: center;
  }
}

.offerings-list li {
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
  text-align: left;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

@media (max-width: 768px) {
  .offerings-list li {
    text-align: center;
    padding-left: 0;
  }
  
  .offerings-list li::before {
    display: none;
  }
}

.offerings-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1a1a1a;
  top: 0;
}

.connect-link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
  margin-top: auto;
  align-self: flex-end;
}

.connect-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a1a1a;
  transition: width 0.3s ease;
}

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

@media (max-width: 768px) {
  .service-card {
    flex-direction: column;
    gap: 1.5rem;
  }

  .service-branding {
    flex-direction: column;
    text-align: center;
  }
}

.service-main {
  padding: 2rem;
  text-align: center;
  height: 100%; /* Add this */
  display: flex; /* Add this */
  flex-direction: column; /* Add this */
  justify-content: space-between; /* Add this */
}

.service-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  background: rgba(128, 128, 128, 0.2);
  padding: 0 1.5rem;
  border-top: 1px solid rgba(128, 128, 128, 0.3);
}

.details-toggle {
  background: rgba(128, 128, 128, 0.3);
  color: #1a1a1a;
  border: 1px solid rgba(128, 128, 128, 0.4);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: "Cormorant Garamond", serif;
  margin-top: auto;
}

.details-toggle:hover {
  background: rgba(77, 184, 255, 0.25);
  transform: translateY(-2px);
}

.service-details.active {
  max-height: 400px;
  padding: 1.5rem;
}

.service-details h4 {
  color: #4a4a4a;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.service-details ul {
  list-style: none;
  margin-bottom: 1rem;
  padding: 0;
}

.service-details li {
  color: #4a4a4a;
  margin-bottom: 0.3rem;
  position: relative;
  padding-left: 1rem;
  font-size: 0.9rem;
}

.service-details li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #4a4a4a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services-grid {
    padding: 0.5rem;
  }

  .service-card {
    min-width: 280px;
  }
}
/* Until here */
/* .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.service-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-main {
  padding: 2rem;
  text-align: center;
} */

.service-icon {
  font-size: 2.5rem;
  color: #4db8ff;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.service-main p {
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.service-details.active {
  display: block;
  animation: slideDown 0.3s ease-out;
}

.service-details h4 {
  color: #4db8ff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.service-details ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-details li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
  text-align: left; /* Ensure list items are left-aligned */
  display: flex; /* Use flexbox for better alignment */
  align-items: center; /* Center vertically */
}

.service-details li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #4db8ff;
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-left: 1rem;
}

.tool-tag {
  background: rgba(128, 128, 128, 0.3);
  color: #1a1a1a;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  border: 1px solid rgba(128, 128, 128, 0.4);
  transition: all 0.3s ease;
}

.tool-tag:hover {
  background: rgba(128, 128, 128, 0.5);
  transform: translateY(-2px);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .services {
    padding: 3rem 1rem;
  }

  .services h2 {
    font-size: 2rem;
    margin-bottom: 1rem; /* Reduced margin */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
.service-details {
  background: rgba(128, 128, 128, 0.2);
  padding: 2rem;
  display: none; /* This is important */
  text-align: left; /* Align text to the left */
  padding-left: 20px;
  border-top: 1px solid rgba(128, 128, 128, 0.3);
}

.service-details.active {
  display: block; /* This is important */
  animation: slideDown 0.3s ease-out;
}

/* Override conflicting styles with more specific selectors */
.service-details.active h4 {
  color: #1a1a1a !important;
  font-weight: 600;
}

.service-details.active li {
  color: #1a1a1a !important;
}

.service-details.active li::before {
  color: #1a1a1a !important;
}

.service-details .tool-tag {
  background: rgba(128, 128, 128, 0.2) !important;
  color: #1a1a1a !important;
  border: 1px solid rgba(128, 128, 128, 0.4);
}

.service-details .tool-tag:hover {
  background: rgba(0, 0, 0, 0.3) !important;
  color: white !important;
}

/* Google Sheets Integration Styles */
.loading {
  text-align: center;
  color: #2c3e50;
  font-size: 1.2rem;
  padding: 2rem;
  font-weight: 600;
}

.project-technologies {
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: rgba(0, 0, 0, 0.2);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

/* Show More Button */
.show-more-container {
  text-align: center;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.show-more-btn {
  display: inline-block;
  padding: clamp(0.8rem, 2.5vw, 1rem) clamp(1.5rem, 4vw, 2rem);
  background: #4db8ff;
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.show-more-btn:hover {
  background: transparent;
  border-color: #4db8ff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(77, 184, 255, 0.2);
}

/* Projects Page Styles */
.projects-page {
  min-height: 100vh;
  background: transparent;
  padding: 4rem 2rem;
  color: #1a1a1a;
}

.projects-header {
  text-align: center;
  margin-bottom: 3rem;
  color: #fff;
}

.projects-header h1 {
  font-family: "Cinzel", serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.projects-header p {
  color: #1a1a1a;
  font-size: 1.3rem;
}

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

.project-card-grid {
  background: rgba(128, 128, 128, 0.4);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card-grid:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 70px rgba(139, 154, 139, 0.12),
    0 15px 30px rgba(168, 162, 158, 0.08);
  background: rgba(128, 128, 128, 0.5);
}

.project-image-grid {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.project-card-grid:hover .project-image-grid img {
  transform: scale(1.1);
}

.project-info-grid {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-info-grid h3 {
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  line-height: 1.4;
  font-weight: 600;
}

.project-info-grid p {
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex: 1;
  font-weight: 400;
  font-size: 1.1rem;
}

.project-description-list {
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex: 1;
  font-weight: 400;
  font-size: 1.1rem;
  padding-left: 1.2rem;
}

.project-description-list li {
  margin-bottom: 0.5rem;
  position: relative;
}

.project-description-list li::marker {
  color: #1a1a1a;
}

.project-link-grid {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: auto;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
  font-size: 1.1rem;
}

.project-link-grid::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a1a1a;
  transition: width 0.3s ease;
}

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

/* Animation for project cards */
.project-card-grid {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.project-card-grid:nth-child(1) {
  animation-delay: 0.1s;
}
.project-card-grid:nth-child(2) {
  animation-delay: 0.2s;
}
.project-card-grid:nth-child(3) {
  animation-delay: 0.3s;
}
.project-card-grid:nth-child(4) {
  animation-delay: 0.4s;
}
.project-card-grid:nth-child(5) {
  animation-delay: 0.5s;
}
.project-card-grid:nth-child(6) {
  animation-delay: 0.6s;
}

@media (max-width: 768px) {
  .projects-page {
    padding: 3rem 1rem;
  }

  .projects-header h1 {
    font-size: 2rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Experience Section Styles */
.experience-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.experience-item {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1.5rem;
  border-left: 4px solid #4db8ff;
}

.experience-item h3 {
  color: #4db8ff;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.experience-item h4 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.experience-date {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.experience-list {
  list-style: none;
  padding: 0;
}

.experience-list li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.experience-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #4db8ff;
}

/* Skills Section in About */
.skills-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.skills-section h4 {
  color: #4db8ff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skills-section .skill-tag {
  background: rgba(77, 184, 255, 0.15);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(77, 184, 255, 0.3);
}

.skills-section .skill-tag:hover {
  background: rgba(77, 184, 255, 0.25);
  transform: translateY(-2px);
}

/* Call to Action Section */
.cta-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-text {
  color: #1a1a1a;
  font-size: 1.3rem;
  line-height: 1.6;
  font-weight: 500;
  text-align: center;
  background: rgba(128, 128, 128, 0.4);
  padding: 1.5rem;
  border-radius: 15px;
  border-left: 4px solid rgba(128, 128, 128, 0.6);
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(128, 128, 128, 0.5);
}

.cta-text:hover {
  background: rgba(128, 128, 128, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(128, 128, 128, 0.2);
  border-left-color: rgba(128, 128, 128, 0.8);
}

/* What I Build Section */
.what-i-build-container {
  background: rgba(128, 128, 128, 0.4);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: 25px;
  padding: 2.5rem;
  height: fit-content;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.what-i-build-container:hover {
  transform: translateY(-5px);
  background: rgba(128, 128, 128, 0.5);
  box-shadow: 0 25px 60px rgba(139, 154, 139, 0.08),
    0 10px 25px rgba(168, 162, 158, 0.06);
}

.build-title {
  font-family: "Cinzel", serif;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.build-bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.build-bar {
  background: rgba(128, 128, 128, 0.25);
  border-radius: 15px;
  padding: 1.2rem 1.8rem;
  border-left: 4px solid;
  border-image: linear-gradient(135deg, #8b9a8b, #a8a29e) 1;
  transform: translateX(-100%);
  opacity: 0;
  animation: slideInBar 0.6s ease-out forwards;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.build-bar:hover {
  background: rgba(128, 128, 128, 0.4);
  transform: translateX(0) scale(1.03);
  box-shadow: 0 8px 25px rgba(139, 154, 139, 0.08);
}

.bar-content {
  display: flex;
  align-items: center;
}

.bar-text {
  color: #1a1a1a;
  font-size: 1.3rem;
  font-weight: 600;
}

@keyframes slideInBar {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Show More Button for Build Items */
.show-more-build-btn {
  background: rgba(128, 128, 128, 0.3);
  color: #1a1a1a;
  border: 1px solid rgba(128, 128, 128, 0.4);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  margin-top: 1rem;
  width: 100%;
  text-align: center;
  font-weight: 600;
}

.show-more-build-btn:hover {
  background: rgba(77, 184, 255, 0.25);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .what-i-build-container {
    padding: 1.5rem;
  }

  .build-item {
    font-size: 1.1rem;
  }
}

/* Testimonials Section */
.testimonials {
  min-height: auto;
  background: transparent;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 3vw, 2rem);
  color: #1a202c;
}

.testimonials-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  width: 100%;
}

.testimonials h2 {
  font-family: "Cinzel", serif;
  text-align: center;
  margin-bottom: clamp(2rem, 6vw, 4rem);
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: #1a202c;
  font-weight: 700;
}

.testimonials-container {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-container::-webkit-scrollbar {
  height: 8px;
}

.testimonials-container::-webkit-scrollbar-track {
  background: rgba(128, 128, 128, 0.1);
  border-radius: 4px;
}

.testimonials-container::-webkit-scrollbar-thumb {
  background: rgba(128, 128, 128, 0.4);
  border-radius: 4px;
}

.testimonials-container::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 128, 128, 0.6);
}

.testimonial-card {
  background: rgba(128, 128, 128, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: clamp(15px, 3vw, 25px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  text-align: left;
  min-width: clamp(280px, 40vw, 300px);
  max-width: clamp(320px, 45vw, 350px);
  flex-shrink: 0;
  height: fit-content;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .testimonial-card {
    min-width: 280px;
    max-width: 320px;
  }
}

.testimonial-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 70px rgba(139, 154, 139, 0.12),
    0 15px 30px rgba(168, 162, 158, 0.08);
  background: rgba(128, 128, 128, 0.5);
}

.testimonial-quote {
  margin-bottom: 1rem;
}

.testimonial-quote i {
  font-size: 1.5rem;
  color: rgba(128, 128, 128, 0.6);
}

.testimonial-description {
  color: #1a1a1a;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  line-height: 1.6;
  font-style: italic;
  font-weight: 400;
  flex: 1;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  align-self: flex-end;
  text-align: right;
  margin-top: auto;
}

.testimonial-name {
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-family: "Cinzel", serif;
}

.testimonial-designation {
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 400;
  display: block;
}

.testimonial-country {
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 400;
  display: block;
  font-style: italic;
}

/* Animation for testimonial cards */
.testimonial-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.testimonial-card:nth-child(1) {
  animation-delay: 0.1s;
}
.testimonial-card:nth-child(2) {
  animation-delay: 0.2s;
}
.testimonial-card:nth-child(3) {
  animation-delay: 0.3s;
}
.testimonial-card:nth-child(4) {
  animation-delay: 0.4s;
}

@media (max-width: 768px) {
  .testimonials {
    padding: 3rem 1rem;
  }

  .testimonials h2 {
    font-size: 2rem;
  }

  .testimonials-container {
    gap: 1.5rem;
    padding: 0.5rem;
  }

  .testimonial-card {
    padding: 2rem;
    min-width: 280px;
  }

  .testimonial-description {
    font-size: 1rem;
  }

  .testimonial-name {
    font-size: 0.85rem;
  }

  .testimonial-designation {
    font-size: 0.75rem;
  }

  .testimonial-description {
    font-size: 1.1rem;
  }
}

/* Blog Section Styles (Main Page) */
.blogs {
  min-height: auto;
  background: transparent;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 3vw, 2rem);
  color: #1a202c;
}

.blogs-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  width: 100%;
}

.blogs h2 {
  font-family: "Cinzel", serif;
  text-align: center;
  margin-bottom: clamp(2rem, 6vw, 4rem);
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: #1a202c;
  font-weight: 700;
}

.blogs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 768px) {
  .blogs-container {
    grid-template-columns: 1fr;
  }
}

.blog-card-main {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 2rem);
  background: rgba(128, 128, 128, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: clamp(15px, 3vw, 20px);
  padding: clamp(1.5rem, 4vw, 2rem);
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .blog-card-main {
    flex-direction: column;
    text-align: center;
  }
  
  .blog-card-main.reverse {
    flex-direction: column;
  }
}

.blog-card-main:hover {
  transform: translateY(-12px);
  background: rgba(128, 128, 128, 0.5);
  box-shadow: 0 25px 50px rgba(107, 142, 107, 0.15);
}

.blog-card-main.reverse {
  flex-direction: row-reverse;
}

.blog-info-main {
  flex: 1;
  padding: 1rem;
}

.blog-info-main h3 {
  color: #1a1a1a;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
  font-weight: 600;
}

.blog-info-main p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #1a1a1a;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
}

.blog-image-main {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.blog-image-main img {
  width: 100%;
  height: clamp(200px, 30vw, 300px);
  object-fit: cover;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .blog-image-main {
    width: 100%;
    max-width: 400px;
  }
}

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

.blog-link-main {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
  font-size: 1.1rem;
}

.blog-link-main::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a1a1a;
  transition: width 0.3s ease;
}

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

@media (max-width: 768px) {
  .blog-card-main,
  .blog-card-main.reverse {
    flex-direction: column;
  }

  .blog-image-main img {
    height: 250px;
  }

  .experience-container {
    gap: 1.5rem;
  }
}
.service-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.service-left {
  flex: 0 0 40%;
}

.service-left i {
  font-size: 3rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  display: block;
}

.service-right {
  flex: 1;
}

.service-offerings h4 {
  font-family: "Cinzel", serif;
  color: #2c3e50;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.offerings-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.offerings-list li {
  font-family: "Cormorant Garamond", serif;
  color: #1a1a1a;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.offerings-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1a1a1a;
}

.connect-link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.connect-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a1a1a;
  transition: width 0.3s ease;
}

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

@media (max-width: 1024px) {
  .service-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .service-left {
    flex: none;
  }

  .service-left h3 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .service-left h3 {
    font-size: 1.8rem;
  }

  .service-left i {
    font-size: 2.5rem;
  }

  .service-tagline {
    font-size: 1.1rem;
  }
}
