* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #f3f4f6;
  color: #1f2937;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1000px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  color: #2563eb;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo:hover {
  color: #1d4ed8;
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-link {
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #2563eb;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #1f2937;
  margin: 4px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    max-height: 300px;
  }

  .nav-link {
    padding: 15px 20px;
    border-bottom: 1px solid #e5e7eb;
  }
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

.hero {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.btn {
  background: white;
  color: #2563eb;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.btn:hover {
  background: #e5e7eb;
}

.card-section {
  margin-top: -40px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-bottom: 40px;
  border-left: 4px solid #2563eb;
}

#services .card {
  border-left: none;
}

.testimonials {
  background: linear-gradient(135deg, #f3f4f6, #ffffff);
  padding: 60px 20px;
}

.testimonials h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: #1f2937;
}

.testimonials h2 i {
  color: #fbbf24;
  margin-right: 10px;
}

.testimonials-placeholder {
  background: white;
  padding: 50px;
  border-radius: 12px;
  border-top: 4px solid #fbbf24;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  max-width: 600px;
  margin: 0 auto;
}

.placeholder-text {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 20px;
  line-height: 1.6;
}

.placeholder-subtext {
  color: #6b7280;
  font-size: 0.95rem;
}

.placeholder-subtext a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.placeholder-subtext a:hover {
  color: #1d4ed8;
}

.section-title {
  margin-bottom: 30px;
}

.skills span {
  display: inline-block;
  background: #e5e7eb;
  padding: 8px 14px;
  border-radius: 20px;
  margin: 5px;
  font-size: 0.9rem;
  transition: 0.2s;
}

.skills span i {
  margin-right: 6px;
}

.skills span:hover {
  background: #2563eb;
  color: white;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.service-item {
  background: #f9fafb;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border-left: 4px solid #2563eb;
  transition: 0.3s ease;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.service-item i {
  font-size: 2.5rem;
  color: #2563eb;
  margin-bottom: 15px;
}

.service-item h3 {
  margin: 15px 0 10px 0;
  color: #1f2937;
}

.service-item p {
  color: #6b7280;
  font-size: 0.95rem;
}

.project-card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #2563eb;
  font-weight: 500;
  transition: 0.2s;
}

.project-card a i {
  margin-right: 5px;
}

.project-card a:hover {
  color: #1d4ed8;
}

.contact h2 i {
  margin-right: 10px;
}

.contact p i {
  margin-right: 8px;
  color: #2563eb;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #e5e7eb;
  color: #2563eb;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.contact a {
  text-decoration: none;
}

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}

.contact-form {
  background: #f9fafb;
  padding: 30px;
  border-radius: 12px;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #1f2937;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group label i {
  margin-right: 8px;
  color: #2563eb;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
  resize: vertical;
}

.error-message {
  display: none;
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 5px;
}

.error-message.show {
  display: block;
}

.submit-btn {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn i {
  margin-right: 8px;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  display: none;
  text-align: center;
}

.form-message.show {
  display: block;
}

.form-message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.contact-info {
  text-align: left;
}

.contact-info h3 {
  color: #1f2937;
  margin-bottom: 20px;
}

.contact-info h4 {
  color: #1f2937;
  margin-top: 30px;
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 12px;
  color: #6b7280;
}

.contact-info p i {
  margin-right: 10px;
  color: #2563eb;
}

.contact-info a {
  color: #2563eb;
  transition: 0.2s;
}

.contact-info a:hover {
  color: #1d4ed8;
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-form {
    padding: 20px;
  }
}

.opportunities {
  padding: 60px 20px;
}

.opportunities .card {
  border-left: none;
}

.opportunities h2 {
  margin-bottom: 30px;
}

.opportunities h2 i {
  color: #2563eb;
  margin-right: 10px;
}

.opportunities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.opportunity-item {
  background: #f9fafb;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #2563eb;
  text-align: center;
}

.opportunity-item i {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 10px;
}

.opportunity-item h3 {
  color: #1f2937;
  margin: 12px 0;
  font-size: 1rem;
}

.opportunity-item p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
}

.opportunities-note {
  background: #eff6ff;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 4px solid #2563eb;
  color: #1e40af;
  font-size: 0.95rem;
  margin: 0;
}

.opportunities-note i {
  margin-right: 8px;
}

.opportunities-note a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.opportunities-note a:hover {
  color: #1d4ed8;
}

.testimonials {
  background: linear-gradient(135deg, #f3f4f6, #ffffff);
  padding: 60px 20px;
}

.testimonials h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: #1f2937;
}

.testimonials h2 i {
  color: #fbbf24;
  margin-right: 10px;
}

.testimonials-placeholder {
  background: white;
  padding: 50px;
  border-radius: 12px;
  border-top: 4px solid #fbbf24;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  max-width: 600px;
  margin: 0 auto;
}

.placeholder-text {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 20px;
  line-height: 1.6;
}

footer {
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
  color: #6b7280;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

/* CTA Section */
.cta-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  margin: 40px 0;
  border-radius: 16px;
}

.cta-card {
  text-align: center;
  color: white;
}

.cta-card h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.cta-card p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn-primary {
  background: white;
  color: #2563eb;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background: #f3f4f6;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Testimonials Section */
.testimonials {
  padding: 60px 20px;
  background: white;
  margin: 40px 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #1f2937;
}

.testimonials-placeholder {
  max-width: 600px;
  margin: auto;
  padding: 40px;
  background: #f9fafb;
  border-left: 4px solid #fbbf24;
  border-radius: 8px;
  text-align: center;
}

.placeholder-text {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #374151;
}

.placeholder-subtext {
  color: #6b7280;
  font-size: 1rem;
}

.placeholder-subtext a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.placeholder-subtext a:hover {
  text-decoration: underline;
}

/* Recommendations Section */
.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.recommendation-item {
  background: #f9fafb;
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid #2563eb;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.recommendation-item i {
  font-size: 2.5rem;
  color: #2563eb;
  margin-bottom: 15px;
}

.recommendation-item h3 {
  color: #1f2937;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.recommendation-item p {
  color: #6b7280;
  margin-bottom: 20px;
  flex-grow: 1;
}

.recommendation-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.recommendation-link:hover {
  color: #1d4ed8;
  transform: translateX(5px);
}

.recommendation-item:hover {
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
  border-left-color: #1d4ed8;
}

/* Footer */
footer {
  background: #1f2937;
  color: white;
  padding: 50px 20px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h4 {
  margin-bottom: 15px;
  color: #fbbf24;
  font-size: 1.1rem;
}

.footer-section p {
  margin-bottom: 10px;
  opacity: 0.9;
  line-height: 1.8;
}

.footer-section a {
  color: #93c5fd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  opacity: 0.8;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-bottom a {
  color: #93c5fd;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: white;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .cta-card h2 {
    font-size: 1.5rem;
  }

  .cta-card p {
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .recommendations-grid {
    grid-template-columns: 1fr;
  }
}
