/* Modern Design System for UltimateMile */

:root {
  --primary: #ffa100;
  --primary-dark: #e69100;
  --secondary: #2d3436;
  --accent: #0984e3;
  --text: #2d3436;
  --text-muted: #636e72;
  --bg: #ffffff;
  --bg-alt: #f1f2f6;
  --glass: rgba(255, 255, 255, 0.7);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --font-main: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

ul {
  list-style: none;
}

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

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: 0.3s ease;
  backdrop-filter: blur(10px);
  background: var(--glass);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  height: 70px;
  box-shadow: var(--shadow);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--secondary);
}

.logo img {
  height: 40px;
}

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

nav ul {
  display: flex;
  gap: 30px;
}

nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  text-align: center;
}



.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 5px 15px rgba(255, 161, 0, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 161, 0, 0.4);
}

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

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

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.about-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: 0.3s ease;
  text-align: center;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.about-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
}

/* Services Section */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 60px;
}

.service-item:nth-child(even) {
  flex-direction: row-reverse;
}

.service-image {
  flex: 1;
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: #f8f9fa;
  width: 100%;
}

.service-image .bg-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) brightness(0.9);
  transform: scale(1.1);
  z-index: 1;
}

.service-image .main-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10%;
  transition: 0.5s ease;
}

.service-item:hover .main-img {
  transform: scale(1.1);
}

.service-text {
  flex: 1;
}

.service-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.service-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Growth Path Timeline */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background: var(--bg-alt);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background: white;
  border: 4px solid var(--primary);
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.right::after {
  left: -10px;
}

.timeline-content {
  padding: 30px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Clients */
.clients-marquee {
  overflow: hidden;
  padding: 40px 0;
  background: var(--bg-alt);
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.marquee-content img {
  height: 60px;
  margin: 0 40px;
  opacity: 0.6;
  transition: 0.3s;
  filter: grayscale(1);
}

.marquee-content img:hover {
  opacity: 1;
  filter: grayscale(0);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.team-member {
  text-align: center;
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 5px solid var(--bg-alt);
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary);
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

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

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  transition: 0.3s;
}

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

/* Footer */
footer {
  background: var(--secondary);
  color: white;
  padding: 80px 0 30px;
}

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

.footer-about h3 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.footer-links h4 {
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  opacity: 0.7;
}

.footer-links ul li a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsiveness */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 3rem; }
  .hero-content p { font-size: 1.1rem; }
  .service-item, .service-item:nth-child(even) { flex-direction: column; }
  .timeline::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
  .timeline-item::after { left: 21px; }
  .right { left: 0; }
  .contact-container { grid-template-columns: 1fr; }
}

/* Animations */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
