/* Hindva Softhub - Modern Responsive Styles (No shared rules, unique selectors per section) */

/* Reset & Base */
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Roboto', 'Montserrat', 'Arial', sans-serif;
  background: #004030;
  color: #DCD0A8;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
  width: 100%;
}

@media (max-width: 1300px) {
  main {
    max-width: 98vw;
    padding: 0 1rem;
  }
}
}

/* Navbar/Header - Unique Styles */
body {
  position: relative;
}
#navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 64, 48, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  animation: navbar-slide-in 1s cubic-bezier(.77,0,.18,1) 0.2s both;
  box-sizing: border-box;
}
@keyframes navbar-slide-in {
  from { transform: translateY(-60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
#navbar .logo {
  font-size: 2rem;
  font-weight: 700;
  color: #FFF9E5;
  letter-spacing: 2px;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
}
#navbar nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
#navbar nav ul li a {
  color: #DCD0A8;
  text-decoration: none;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.2s;
}
#navbar nav ul li a:hover {
  color: #4A9782;
}
#navbar nav ul li a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #4A9782;
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: -4px;
}
#navbar nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section - Unique Styles */

.hero-section {
  min-height: 100vh;
  background: linear-gradient(120deg, #004030 70%, #4A9782 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.hero-content {
  z-index: 2;
  text-align: left;
  max-width: 700px;
  margin-left: 0;
  background: rgba(0,64,48,0.85);
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(76,151,130,0.18);
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  border: 1.5px solid #4A9782;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
.hero-headline {
  font-size: 3.2rem;
  color: #FFF9E5;
  font-weight: 900;
  margin-bottom: 1.2rem;
  letter-spacing: 2px;
  text-shadow: 0 2px 24px #4A9782;
  opacity: 0;
  transform: translateY(40px);
  animation: hero-headline-in 1.2s cubic-bezier(.77,0,.18,1) 0.3s forwards;
}
@keyframes hero-headline-in {
  to { opacity: 1; transform: translateY(0); }
}
.hero-tagline {
  font-size: 1.5rem;
  color: #DCD0A8;
  margin-bottom: 2.2rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(40px);
  animation: hero-tagline-in 1.2s cubic-bezier(.77,0,.18,1) 0.5s forwards;
}
@keyframes hero-tagline-in {
  to { opacity: 1; transform: translateY(0); }
}
.hero-cta {
  border: 2.5px solid #4A9782;
  background: linear-gradient(90deg, #004030 60%, #4A9782 100%);
  color: #FFF9E5;
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 0 0 #4A9782;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  opacity: 0;
  animation: hero-cta-in 1s cubic-bezier(.77,0,.18,1) 0.8s forwards;
}
@keyframes hero-cta-in {
  to { opacity: 1; }
}
.hero-cta:hover {
  background: #4A9782;
  color: #004030;
  box-shadow: 0 0 32px #4A9782;
  transform: scale(1.09);
}
.hero-svg-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
  filter: blur(2px) brightness(1.1);
}
/* Tech grid accent for hero */
.hero-svg-bg::after {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(135deg, rgba(76,151,130,0.08) 0 2px, transparent 2px 32px);
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 900px) {
  .hero-content {
    margin-left: 0;
    padding: 2rem 1rem;
    max-width: 100vw;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-headline {
    font-size: 2.1rem;
  }
}

/* About Section - Unique Styles */

.about-section {
  background: linear-gradient(120deg, #004030 70%, #4A9782 100%);
  padding: 5rem 0 3rem 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.about-modern-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.about-card {
  background: rgba(0,64,48,0.85);
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(76,151,130,0.18);
  border: 1.5px solid #4A9782;
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 420px;
  overflow: hidden;
}
.about-title {
  font-size: 2.5rem;
  color: #FFF9E5;
  font-weight: 900;
  margin-bottom: 1.2rem;
  position: relative;
  letter-spacing: 2px;
}
.about-underline {
  display: inline-block;
  width: 80px;
  height: 8px;
  background: linear-gradient(90deg, #4A9782 0%, #DCD0A8 100%);
  border-radius: 8px;
  position: absolute;
  left: 0;
  bottom: -12px;
  opacity: 0.7;
}
.about-desc {
  font-size: 1.2rem;
  color: #DCD0A8;
  margin-bottom: 2rem;
  font-weight: 500;
}
.about-values {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.about-values li {
  font-size: 1.1rem;
  color: #FFF9E5;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  transition: color 0.2s;
}
.about-value-icon {
  font-size: 1.5rem;
  color: #4A9782;
  transition: transform 0.3s;
}
.about-values li:hover .about-value-icon {
  transform: scale(1.2) rotate(-8deg);
  color: #DCD0A8;
}
.about-timeline {
  align-items: flex-start;
}
.about-timeline-title {
  font-size: 1.3rem;
  color: #DCD0A8;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}
.about-timeline-svg {
  margin-bottom: 1.2rem;
  position: relative;
  width: 220px;
  height: 120px;
}
.about-timeline-labels {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 110px;
  left: 0;
  width: 220px;
  font-size: 0.9rem;
  color: #DCD0A8;
}
.about-icons-modern {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.2rem;
}
.about-icon-glass {
  background: rgba(76,151,130,0.12);
  border-radius: 16px;
  padding: 0.7rem;
  box-shadow: 0 2px 12px rgba(76,151,130,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-icon-glass:hover {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 0 16px #4A9782;
}
@media (max-width: 900px) {
  .about-modern-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-card {
    min-height: 320px;
    padding: 2rem 1rem;
  }
}

/* Services Section - Unique Styles */

.services-section {
  background: #004030;
  padding: 5rem 0 3rem 0;
  text-align: center;
}
.services-title {
  font-size: 2.3rem;
  color: #FFF9E5;
  margin-bottom: 2.5rem;
  font-weight: 900;
  letter-spacing: 2px;
}
.services-carousel {
  display: flex;
  gap: 2.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: #4A9782 #004030;
}
.services-carousel::-webkit-scrollbar {
  height: 8px;
}
.services-carousel::-webkit-scrollbar-thumb {
  background: #4A9782;
  border-radius: 8px;
}
.service-card-modern {
  background: rgba(76,151,130,0.12);
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(76,151,130,0.18);
  border: 2.5px solid #4A9782;
  min-width: 340px;
  max-width: 340px;
  padding: 2.5rem 2rem 2rem 2rem;
  margin-bottom: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.service-card-modern:hover {
  box-shadow: 0 0 32px #4A9782;
  transform: translateY(-8px) scale(1.04);
  border-color: #DCD0A8;
}
.service-svg-wrap {
  margin-bottom: 1.2rem;
  background: rgba(220,208,168,0.08);
  border-radius: 16px;
  padding: 0.7rem;
  box-shadow: 0 2px 12px rgba(76,151,130,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-modern:hover .service-svg-wrap {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 0 16px #4A9782;
}
.service-card-modern h3 {
  color: #FFF9E5;
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
  font-weight: 700;
}
.service-card-modern p {
  color: #DCD0A8;
  font-size: 1.05rem;
  font-weight: 500;
}
@media (max-width: 900px) {
  .services-carousel {
    gap: 1.2rem;
  }
  .service-card-modern {
    min-width: 90vw;
    max-width: 90vw;
    padding: 2rem 1rem;
  }
}

/* Portfolio Section - Unique Styles */

.portfolio-section {
  background: linear-gradient(120deg, #004030 70%, #4A9782 100%);
  padding: 5rem 0 3rem 0;
  text-align: center;
}
.portfolio-title {
  font-size: 2.3rem;
  color: #FFF9E5;
  margin-bottom: 2.5rem;
  font-weight: 900;
  letter-spacing: 2px;
}
.portfolio-items-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}
.portfolio-card {
  background: rgba(76,151,130,0.12);
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(76,151,130,0.18);
  border: 2.5px solid #4A9782;
  min-width: 340px;
  max-width: 440px;
  padding: 2.5rem 2rem 2rem 2rem;
  margin-bottom: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.portfolio-card:hover {
  box-shadow: 0 0 32px #4A9782;
  transform: translateY(-8px) scale(1.04);
  border-color: #DCD0A8;
}
.portfolio-svg-project {
  margin-bottom: 1.2rem;
  background: rgba(220,208,168,0.08);
  border-radius: 16px;
  padding: 0.7rem;
  box-shadow: 0 2px 12px rgba(76,151,130,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-card:hover .portfolio-svg-project {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 0 16px #4A9782;
}
.portfolio-info {
  padding: 1.2rem;
  text-align: left;
}
.portfolio-info h3 {
  color: #FFF9E5;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.portfolio-info p {
  color: #DCD0A8;
  font-size: 1.05rem;
  font-weight: 500;
}
@media (max-width: 900px) {
  .portfolio-items-modern {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .portfolio-card {
    min-width: 90vw;
    max-width: 90vw;
    padding: 2rem 1rem;
  }
}

/* Contact Section - Unique Styles */

.contact-section {
  background: #004030;
  padding: 5rem 0 3rem 0;
  text-align: center;
}
.contact-modern-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.contact-card {
  background: rgba(0,64,48,0.85);
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(76,151,130,0.18);
  border: 1.5px solid #4A9782;
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  overflow: hidden;
}
.contact-svg-wrap {
  margin-bottom: 1.2rem;
  background: rgba(220,208,168,0.08);
  border-radius: 16px;
  padding: 0.7rem;
  box-shadow: 0 2px 12px rgba(76,151,130,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-title {
  color: #FFF9E5;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.contact-address {
  color: #DCD0A8;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.contact-email {
  color: #DCD0A8;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.contact-email a {
  color: #4A9782;
  text-decoration: underline;
  font-weight: 700;
}
.contact-form-title {
  color: #FFF9E5;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.contact-form {
  width: 100%;
  background: rgba(76, 151, 130, 0.08);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}
.form-group label {
  color: #DCD0A8;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  display: block;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem;
  border: 2px solid #DCD0A8;
  border-radius: 8px;
  background: #004030;
  color: #FFF9E5;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #4A9782;
  box-shadow: 0 0 8px #4A9782;
}
.contact-submit {
  border: 2px solid #4A9782;
  background: transparent;
  color: #FFF9E5;
  font-size: 1.1rem;
  padding: 0.7rem 2rem;
  border-radius: 32px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.contact-submit:hover {
  background: #4A9782;
  color: #004030;
  box-shadow: 0 0 16px #4A9782;
  transform: scale(1.07);
}
@media (max-width: 900px) {
  .contact-modern-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-card {
    min-height: 320px;
    padding: 2rem 1rem;
  }
}

/* Footer Section - Unique Styles */

.footer-section {
  background: #004030;
  padding: 0;
  text-align: center;
}
.footer-modern-bar {
  width: 100vw;
  background: rgba(0,64,48,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -2px 24px rgba(76,151,130,0.18);
  border-top: 2px solid #4A9782;
  padding: 2rem 0 1rem 0;
}
.footer-modern-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.footer-modern-social {
  display: flex;
  gap: 2rem;
  margin-bottom: 0.7rem;
}
.footer-modern-icon svg {
  transition: transform 0.3s, filter 0.3s;
}
.footer-modern-icon:hover svg {
  transform: scale(1.15) rotate(-8deg);
  filter: drop-shadow(0 0 8px #4A9782);
}
.footer-modern-links {
  display: flex;
  gap: 2rem;
  margin-bottom: 0.7rem;
}
.footer-modern-link {
  color: #DCD0A8;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s, text-shadow 0.2s;
  font-weight: 600;
}
.footer-modern-link:hover {
  color: #4A9782;
  text-shadow: 0 0 8px #4A9782;
}
.footer-modern-copy {
  color: #DCD0A8;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .services-cards, .portfolio-items {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  #navbar nav ul {
    gap: 1rem;
  }
}
@media (max-width: 600px) {
  #navbar {
    padding: 0.5rem 1rem;
  }
  .hero-headline {
    font-size: 2rem;
  }
  .about-content h2, .services-section h2, .portfolio-section h2, .contact-section h2 {
    font-size: 1.3rem;
  }
  .service-card, .portfolio-item {
    width: 95vw;
    min-width: 0;
  }
  .contact-form {
    padding: 1rem 0.5rem;
  }
}
