/* Gobin Expertise - Global Styles */
:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #dbeafe;
  --success: #10b981;
  --danger: #ef4444;
  --dark: #1f2937;
  --light: #f9fafb;
  --border: #e5e7eb;
  --text: #374151;
  --text-light: #6b7280;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
  padding-top: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
}

h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text);
}

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

a:hover {
  color: var(--primary-dark);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  height: 80px;
  display: flex;
  align-items: center;
}

header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 0.25rem;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-size: 1rem;
  color: var(--text);
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary);
}

.cta-button {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.cta-button:hover {
  background: var(--primary-dark);
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--text);
  font-weight: 500;
}

.mobile-menu .cta-button {
  width: 100%;
  text-align: center;
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  margin-bottom: 4rem;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero .rating {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-light);
}

.btn-block {
  width: 100%;
}

/* Section Spacing */
section {
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Steps Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.step-card {
  background: white;
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.step-card ul {
  list-style: none;
  margin-top: 1rem;
}

.step-card li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  color: var(--text-light);
}

.step-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Ebook Section */
.ebook-section {
  background: var(--primary-light);
  padding: 3rem 2rem;
  border-radius: 0.75rem;
  text-align: center;
  margin-bottom: 4rem;
}

.ebook-section h3 {
  margin-bottom: 1.5rem;
}

.email-form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.email-form input {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
}

.email-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.email-form button {
  padding: 0.875rem 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.email-form button:hover {
  background: var(--primary-dark);
}

/* Resource Cards Grid */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.resource-card {
  background: white;
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.resource-card h4 {
  margin-bottom: 1rem;
}

.resource-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
}

.stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.testimonial-context {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Case Studies */
.case-study {
  background: white;
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
}

.case-study h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.case-study-location {
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.case-study-highlight {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 1rem;
  border-radius: 0.25rem;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary);
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: white;
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 0.75rem;
}

.contact-info h4 {
  margin-bottom: 1.5rem;
}

.contact-detail {
  margin-bottom: 2rem;
}

.contact-detail strong {
  display: block;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.contact-detail p {
  margin: 0;
  color: var(--text-light);
}

.contact-form {
  background: white;
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 0.75rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background: white;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--light);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-toggle.active {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.faq-answer.active {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  margin: 0;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-col p {
  margin: 0.75rem 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin: 0.75rem 0;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .steps-grid,
  .resource-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .faq-question {
    font-size: 1rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.py-4 {
  padding: 2rem 0;
}

.gap-2 {
  gap: 1rem;
}
