:root {
  --primary: #E5322C;
  --primary-dark: #BE342C;
  --secondary: #1e293b;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --text-main: #334155;
  --text-muted: #64748b;
  --transition: all 0.3s ease-in-out;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--secondary);
}

/* Navbar Styling */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.navbar-brand img {
  height: 50px;
  object-fit: contain;
}

.nav-link {
  font-weight: 500;
  color: var(--text-main) !important;
  margin: 0 10px;
  position: relative;
  transition: var(--transition);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

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

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(229, 50, 44, 0.3);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(229, 50, 44, 0.2);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,50,44,0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}

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

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

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
}

/* Sections */
.section-padding {
  padding: 80px 0;
}

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

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

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

/* About Section */
.about-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.08);
}

.about-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(229, 50, 44, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

/* Portfolio Cards */
.portfolio-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  height: 100%;
}

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

.portfolio-img {
  height: 200px;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-img {
  background-color: #cbd5e1;
}

.portfolio-content {
  padding: 24px;
}

.portfolio-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.portfolio-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Footer */
.footer {
  background-color: var(--secondary);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-title {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-text {
  color: #94a3b8;
}

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

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

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
