/* Triton Agency - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');
@import url('variables.css');

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-dark);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.text-accent { color: var(--accent) !important; }
.text-primary { color: var(--primary) !important; }
.text-white { color: var(--white) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-primary-dark { background-color: var(--primary-dark) !important; }
.bg-accent { background-color: var(--accent) !important; }
.bg-light { background-color: var(--gray-100) !important; }

/* Section Styling */
.section {
  padding: var(--spacing-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-md);
}

.section-label i {
  font-size: var(--text-xs);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

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

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Top Bar */
.top-bar {
  background: var(--primary-dark);
  padding: var(--spacing-sm) 0;
  font-size: var(--text-sm);
}

.top-bar a {
  color: var(--gray-300);
}

.top-bar a:hover {
  color: var(--accent);
}

.top-bar-text {
  color: var(--gray-400);
}

.top-bar-text a {
  color: var(--accent);
  font-weight: 500;
}

/* Navbar */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-md) 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  padding: var(--spacing-sm) 0;
  box-shadow: var(--shadow-lg);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary-dark) !important;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.navbar-brand img {
  height: 40px;
}

.navbar-brand .brand-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--text-xl);
}

.nav-link {
  font-weight: 500;
  color: var(--gray-700) !important;
  padding: var(--spacing-sm) var(--spacing-md) !important;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
}

.btn-nav {
  background: var(--gradient-accent);
  color: var(--white) !important;
  border: none;
  padding: var(--spacing-sm) var(--spacing-xl) !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--accent);
  margin-bottom: var(--spacing-lg);
  border: 1px solid rgba(0, 212, 170, 0.3);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
}

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

.hero-text {
  font-size: var(--text-lg);
  color: var(--gray-300);
  margin-bottom: var(--spacing-xl);
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.hero-decoration {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.1;
  filter: blur(100px);
}

.hero-decoration-1 {
  top: 10%;
  right: 10%;
}

.hero-decoration-2 {
  bottom: 10%;
  left: 5%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-base);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

/* Page Header */
.page-header {
  position: relative;
  padding: 120px 0 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: var(--text-5xl);
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  color: var(--gray-400);
  font-size: var(--text-sm);
}

.breadcrumb-item a {
  color: var(--gray-400);
}

.breadcrumb-item a:hover {
  color: var(--accent);
}

.breadcrumb-item.active {
  color: var(--accent);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--gray-500);
  content: "/";
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  height: 100%;
  border: 1px solid var(--gray-200);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(108, 99, 255, 0.1) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  font-size: var(--text-2xl);
  color: var(--accent);
}

.service-card h4 {
  margin-bottom: var(--spacing-md);
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: var(--spacing-md);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--accent);
  font-weight: 600;
}

.service-link:hover {
  gap: var(--spacing-md);
}

/* About Section */
.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient-accent);
  color: var(--white);
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-badge .number {
  font-size: var(--text-4xl);
  font-weight: 700;
  display: block;
}

.about-badge .text {
  font-size: var(--text-sm);
}

.about-features {
  margin-top: var(--spacing-xl);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.about-feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(108, 99, 255, 0.1) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.about-feature h5 {
  margin-bottom: var(--spacing-xs);
}

.about-feature p {
  color: var(--gray-600);
  margin: 0;
  font-size: var(--text-sm);
}

/* Team Cards */
.team-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.team-card-image {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gradient-card);
  padding: var(--spacing-xl);
  color: var(--white);
}

.team-card-name {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--white);
}

.team-card-role {
  font-size: var(--text-sm);
  color: var(--accent);
  margin-bottom: var(--spacing-md);
}

.team-card-color {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-md);
}

/* Agent Avatar Placeholder */
.agent-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  opacity: 0.9;
}

/* Stats Section */
.stats-section {
  background: var(--gradient-hero);
  padding: var(--spacing-3xl) 0;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: var(--text-5xl);
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  font-size: var(--text-base);
  color: var(--gray-300);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  padding: var(--spacing-4xl) 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
  font-size: var(--text-lg);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: var(--gray-400);
  padding-top: var(--spacing-4xl);
}

.footer-brand {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.footer-brand .brand-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--text-xl);
}

.footer-text {
  color: var(--gray-400);
  margin-bottom: var(--spacing-xl);
}

.footer-title {
  color: var(--white);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: var(--spacing-sm);
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-lg) 0;
  margin-top: var(--spacing-3xl);
}

.footer-bottom p {
  margin: 0;
  font-size: var(--text-sm);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-control {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.form-label {
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: var(--spacing-sm);
}

/* Contact Info Cards */
.contact-info-card {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.05) 0%, rgba(108, 99, 255, 0.05) 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  color: var(--white);
  font-size: var(--text-xl);
}

.contact-info-card h5 {
  margin-bottom: var(--spacing-sm);
}

.contact-info-card p {
  color: var(--gray-600);
  margin: 0;
}

.contact-info-card a {
  color: var(--accent);
}

/* FAQ Accordion */
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-md);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg);
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 var(--spacing-lg) var(--spacing-lg);
  color: var(--gray-600);
}

/* Why Choose Us */
.why-card {
  text-align: center;
  padding: var(--spacing-xl);
}

.why-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(108, 99, 255, 0.1) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  font-size: var(--text-3xl);
  color: var(--accent);
}

/* Process Section */
.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
}

.process-step h5 {
  margin-bottom: var(--spacing-sm);
}

.process-step p {
  color: var(--gray-600);
  font-size: var(--text-sm);
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.testimonial-text {
  font-size: var(--text-lg);
  color: var(--gray-700);
  margin-bottom: var(--spacing-xl);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
}

.testimonial-name {
  font-weight: 600;
  color: var(--primary-dark);
}

.testimonial-role {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

/* Responsive */
@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  .page-header h1 {
    font-size: var(--text-4xl);
  }

  .section-title {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .page-header {
    padding: 100px 0 60px;
  }

  .page-header h1 {
    font-size: var(--text-3xl);
  }

  .section {
    padding: var(--spacing-3xl) 0;
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .stat-number {
    font-size: var(--text-4xl);
  }

  .team-card-image {
    height: 280px;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Animation for Agent Cards */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.agent-status {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: var(--text-sm);
  color: var(--accent);
}

.agent-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
