/* ============================================
   GLOBALS SERVICES - Premium SaaS Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============ ROOT VARIABLES ============ */
:root {
  --primary-blue: #0066ff;
  --secondary-blue: #004fc7;
  --accent-teal: #00d9d9;
  --light-teal: #00f0f0;
  --dark-navy: #0a1428;
  --light-gray: #f8fafc;
  --white: #ffffff;
  --border-gray: #e2e8f0;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* ============ GLOBAL STYLES ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light-gray);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============ TYPOGRAPHY ============ */
h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark-navy);
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-navy);
}

h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-navy);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-navy);
}

p {
  color: var(--text-light);
  font-size: 1rem;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-md {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* ============ NAVBAR ============ */
nav {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.navbar-menu a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

.navbar-menu a:hover {
  color: var(--primary-blue);
}

.navbar-menu a.active {
  color: var(--primary-blue);
  border-bottom: 2px solid var(--primary-blue);
  padding-bottom: 0.25rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-blue);
}

/* ============ HERO SECTION ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: cover;
  background-position: center;
  z-index: 0;
}



.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 0 2rem;
}

.hero-content h1 {
  color: var(--white);
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: slideUp 0.8s ease-out;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  animation: slideUp 0.8s ease-out 0.1s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideUp 0.8s ease-out 0.2s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ SECTIONS ============ */
.section {
  padding: 5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============ CARDS ============ */
.card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-gray);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 2rem;
}

.card-content h3 {
  margin-bottom: 0.75rem;
  color: var(--dark-navy);
}

.card-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ============ GRID ============ */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============ FOOTER ============ */
footer {
  background: var(--dark-navy);
  color: var(--white);
  padding: 4rem 5%;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--accent-teal);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--accent-teal);
  color: var(--dark-navy);
}

/* ============ FEATURES ============ */
.feature {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature h4 {
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.95rem;
}

/* ============ TESTIMONIALS ============ */
.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary-blue);
  transition: all 0.3s ease;
}

.testimonial:hover {
  box-shadow: var(--shadow-xl);
}

.testimonial-content {
  margin-bottom: 1rem;
  font-style: italic;
  color: var(--text-dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-blue);
}

.testimonial-info h4 {
  margin-bottom: 0.25rem;
  color: var(--dark-navy);
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ============ FORM ============ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-gray);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* ============ BANNER ============ */
.banner {
  position: relative;
  padding: 4rem 5%;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.85) 0%, rgba(0, 217, 217, 0.85) 100%);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto;
}

.banner-content h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.banner-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ============ SERVICE DETAILS ============ */
.service-detail {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.service-detail:hover {
  box-shadow: var(--shadow-xl);
}

.service-detail-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.service-detail-content {
  padding: 2.5rem;
}

.service-detail-content h3 {
  margin-bottom: 1rem;
}

.service-detail-content > p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-features {
  margin: 2rem 0;
}

.service-features h4 {
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.service-features ul {
  list-style: none;
  margin-left: 0;
}

.service-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-dark);
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ============ ABOUT SECTION ============ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-intro-image {
  width: 100%;
  height: 400px;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-intro-content h2 {
  margin-bottom: 1.5rem;
}

.about-intro-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-member {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-member-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-member-content {
  padding: 1.5rem;
}

.team-member h4 {
  margin-bottom: 0.25rem;
}

.team-member p {
  font-size: 0.9rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* ============ CONTACT FORM ============ */
.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  text-align: center;
}

.contact-item-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.contact-item h4 {
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-light);
}

.contact-item a {
  color: var(--primary-blue);
}

.contact-item a:hover {
  color: var(--accent-teal);
}

/* ============ FAQ ============ */
.faq-item {
  background: var(--white);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gray);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--light-gray);
}

.faq-question h4 {
  margin: 0;
  color: var(--dark-navy);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ============ LEGAL PAGES ============ */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  line-height: 1.9;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  margin: 1rem 0 1rem 2rem;
  color: var(--text-light);
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section {
    padding: 3rem 4%;
  }

  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow-md);
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-menu a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-gray);
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem;
  }

  .service-detail-content {
    padding: 1.5rem;
  }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ============ UTILITY CLASSES ============ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

.text-primary {
  color: var(--primary-blue);
}

.text-teal {
  color: var(--accent-teal);
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 2rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
