/* 
* TechCrow Agency - Modern Website Styles
* Created 2025
*/

/* ===== RESET & BASE STYLES ===== */
:root {
  /* Main color palette */
  --primary-dark: #0a1429;
  --primary: #131f40;
  --secondary: #6e42d3;
  --accent: #4e85f7;
  --accent-gradient: linear-gradient(135deg, #6e42d3, #4e85f7);
  --text-light: #ffffff;
  --text-gray: #a0aec0;
  --text-dark: #1a202c;
  --success: #38b2ac;
  --warning: #ed8936;
  --danger: #e53e3e;
  --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --glow-shadow: 0 0 15px rgba(110, 66, 211, 0.5), 0 0 30px rgba(78, 133, 247, 0.3);
}

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

body {
  font-family: 'Inter', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--primary-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

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

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

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

a:hover {
  color: var(--secondary);
}

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

.section {
  padding: 5rem 0;
}

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

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title .accent {
  color: var(--secondary);
}

.section-description {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-gray);
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-light);
  box-shadow: var(--box-shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-shadow);
  color: var(--text-light);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-gradient);
  color: var(--text-light);
  transform: translateY(-3px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== NAVBAR ===== */
.navbar {
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  background: rgba(10, 20, 41, 0.8);
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(10, 20, 41, 0.95);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
}

.logo span {
  color: var(--secondary);
}

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

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--primary-dark), var(--primary));
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(110, 66, 211, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(78, 133, 247, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1;
  position: relative;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--accent-gradient);
  opacity: 0.1;
  border-radius: 8px;
  z-index: -1;
  filter: blur(20px);
  transform: translate(10px, 10px);
}

.trusted-by {
  margin-top: 3rem;
}

.trusted-by p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.client-logos {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.client-logos img {
  height: 30px;
  opacity: 0.7;
  filter: grayscale(1);
  transition: all 0.3s ease;
}

.client-logos img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ===== SERVICES SECTION ===== */
.services {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(110, 66, 211, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(78, 133, 247, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(19, 31, 64, 0.8);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(110, 66, 211, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
  border-color: rgba(110, 66, 211, 0.3);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
  background: rgba(110, 66, 211, 0.1);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.service-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-description {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
}

.service-features li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-features li i {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 0.3rem;
}

/* ===== SPECIALIZATIONS SECTION ===== */
.specializations {
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.specializations::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 30% 20%, rgba(110, 66, 211, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(78, 133, 247, 0.1) 0%, transparent 40%);
  z-index: 0;
}

.specializations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.specialization-card {
  background: rgba(19, 31, 64, 0.8);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(110, 66, 211, 0.1);
  height: 100%;
}

.specialization-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
  border-color: rgba(110, 66, 211, 0.3);
}

.specialization-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
  background: rgba(78, 133, 247, 0.1);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.specialization-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.specialization-description {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.specialization-features {
  list-style: none;
}

.specialization-features li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.specialization-features li i {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 0.3rem;
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 30%, rgba(110, 66, 211, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(78, 133, 247, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.about-image::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--accent-gradient);
  opacity: 0.1;
  border-radius: 8px;
  z-index: -1;
  filter: blur(20px);
  transform: translate(10px, 10px);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  margin-bottom: 2rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-gray);
}

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

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-feature-icon {
  font-size: 1.5rem;
  color: var(--secondary);
  background: rgba(110, 66, 211, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.about-feature-text h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.about-feature-text p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== GLOBAL PRESENCE SECTION ===== */
.global-presence {
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.global-presence::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 70% 30%, rgba(110, 66, 211, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(78, 133, 247, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.locations {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.location {
  background: rgba(19, 31, 64, 0.8);
  border-radius: 8px;
  padding: 1.5rem;
  min-width: 150px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(110, 66, 211, 0.1);
}

.location:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
  border-color: rgba(110, 66, 211, 0.3);
}

.location h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(110, 66, 211, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(78, 133, 247, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.testimonials-slider {
  position: relative;
  z-index: 1;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(19, 31, 64, 0.8);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(110, 66, 211, 0.1);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
  border-color: rgba(110, 66, 211, 0.3);
}

.testimonial-quote {
  font-size: 4rem;
  position: absolute;
  top: 20px;
  right: 20px;
  color: rgba(110, 66, 211, 0.1);
}

.testimonial-text {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 1.5rem;
}

.testimonial-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-author-info h4 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.testimonial-author-info p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 0;
}

.testimonial-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 30% 30%, rgba(110, 66, 211, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(78, 133, 247, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.contact-content {
  display: flex;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.contact-info {
  flex: 1;
}

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

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

.contact-title p {
  color: var(--text-gray);
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  color: var(--secondary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.contact-item-text p {
  color: var(--text-gray);
  margin-bottom: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(110, 66, 211, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-gradient);
  color: var(--text-light);
  transform: translateY(-3px);
}

.contact-form {
  flex: 1;
  background: rgba(19, 31, 64, 0.8);
  border-radius: 8px;
  padding: 2.5rem;
  border: 1px solid rgba(110, 66, 211, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(10, 20, 41, 0.5);
  border: 1px solid rgba(110, 66, 211, 0.2);
  border-radius: 4px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(110, 66, 211, 0.2);
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

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

.form-submit {
  text-align: right;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  padding: 5rem 0 1rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(110, 66, 211, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(78, 133, 247, 0.1) 0%, transparent 30%);
  z-index: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.footer-column h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-about p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-gray);
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  color: var(--secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.footer-contact-text {
  color: var(--text-gray);
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(110, 66, 211, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-gray);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.footer-bottom a {
  color: var(--secondary);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.fade-in-delay-1 {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.2s;
}

.fade-in-delay-2 {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.4s;
}

.fade-in-delay-3 {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.6s;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1100px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-content, 
  .about-content {
    flex-direction: column;
  }
  
  .hero-text,
  .about-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-links.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    padding: 1.5rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}