/* Reset & global */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', sans-serif; color: #333; background: #f7fbf7; }

/* Hero header */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
              url('https://images.unsplash.com/photo-1501854140801-50d01698950b?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content { 
  text-align: center; 
  color: #fff; 
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 { 
  font-size: 4.5rem; 
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.hero-content .tagline {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Navigation - Zerodha style */
.navbar { 
  background: #fff; 
  box-shadow: 0 1px 4px rgba(0,0,0,0.1); 
  position: sticky; 
  top: 0; 
  z-index: 100; 
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  height: 60px;
}

.nav-left {
  flex: 1;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #2e7d32;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-menu a:hover { 
  color: #145a32; 
}

.nav-menu a.active { 
  color: #4caf50; 
  border-bottom: 2px solid #4caf50; 
}

.nav-right {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2e7d32;
  letter-spacing: -0.5px;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

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

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 1rem;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  text-decoration: none;
  color: #2e7d32;
  font-weight: 500;
  padding: 0.5rem 0;
  display: block;
}

/* Sections */
section { padding: 3rem 1rem; max-width: 1000px; margin: auto; opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
section.animate-in { opacity: 1; transform: translateY(0); }
h2 { color: #2e7d32; margin-bottom: 1rem; }

/* Cards layout */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  text-align: center;
}

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

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.25rem;
}

.card p {
  padding: 0 1.5rem 1.5rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.card:first-child {
  grid-column: 1 / -1;
}

.card:first-child img {
  height: 300px;
}

.service-btn {
  display: inline-block;
  margin: 0 1.5rem 1.5rem;
  padding: 0.75rem 2rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(45, 49, 250, 0.2);
  background: #1D1FA8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45, 49, 250, 0.3);
}

.service-btn:hover {
  background: #1D1FA8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45, 49, 250, 0.3);
}

/* Vectors */
.vector-showcase .vectors {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}
.vector-item {
  text-align: center; transition: transform 0.3s ease;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.vector-item:hover { transform: scale(1.05); }
.vector-showcase img { 
  width: 80px; 
  height: 80px; 
  object-fit: contain;
  border-radius: 8px; 
}
.vector-item p { margin-top: 0.5rem; font-size: 0.9rem; color: #666; }

/* Contact form */
form {
  display: grid; gap: 1rem; background: #fff; padding: 2rem;
  border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
input, button {
  padding: 0.75rem; font-size: 1rem; border: 1px solid #ccc; border-radius: 4px;
}
input:focus { outline: none; border-color: #4caf50; box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2); }
button {
  background: #4caf50; color: #fff; border: none; cursor: pointer; transition: background 0.3s ease;
}
button:hover { background: #388e3c; }
button:disabled { background: #ccc; cursor: not-allowed; }

/* Success message */
.success-message {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center;
  z-index: 1000; animation: fadeIn 0.3s ease;
}
.success-content {
  background: #fff; padding: 2rem; border-radius: 8px; text-align: center;
  max-width: 400px; margin: 1rem; animation: slideIn 0.3s ease;
}
.success-content h3 { color: #4caf50; margin-bottom: 1rem; }
.success-content button {
  margin-top: 1rem; padding: 0.5rem 1rem; background: #4caf50;
}

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

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

/* Footer */
footer {
  background: #2e7d32; color: #fff; text-align: center; padding: 1rem; margin-top: 2rem;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  color: #666;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #000;
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-body p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.modal-body ul {
  list-style-type: none;
  padding: 0;
}

.modal-body li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.modal-body li:before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
    min-height: 400px;
    background-attachment: scroll;
  }
  
  .hero-content h1 { 
    font-size: 2.5rem; 
  }
  
  .hero-content .tagline {
    font-size: 1.2rem;
  }
  
  .nav-menu { display: none; }
  .mobile-toggle { display: flex; }
  
  .mobile-menu.active { display: block; }
  
  .cards {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
  }
  
  .card:first-child img {
    height: 200px;
  }
  
  .vector-showcase .vectors { flex-direction: column; align-items: center; }
  
  .nav-container { padding: 0 1rem; }

  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }
}

/* About section styles */
#about {
  padding: 6rem 2rem;
  background-color: var(--gray-light);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.main-intro {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.values-list, .impact-list {
  list-style: none;
  padding: 0;
}

.values-list li, .impact-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.values-list li:before, .impact-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.about-footer {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-footer h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about-footer p {
  font-size: 1.1rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .main-intro {
    font-size: 1.1rem;
  }
  
  #about {
    padding: 4rem 1rem;
  }
}

/* Contact Information Section */
.contact-info {
  padding: 4rem 2rem;
  background-color: var(--background-color);
  border-top: 1px solid var(--gray-medium);
}

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

.contact-container h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-item p {
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .contact-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-info {
    padding: 3rem 1rem;
  }
  
  .contact-item {
    padding: 1.5rem;
  }
}


