/*
Theme Name: Sarfaraaz IT
Theme URI: https://sarfaraazit.online/
Author: Sarfaraaz IT
Description: A modern, responsive agency theme for Sarfaraaz IT offering digital marketing, graphic design, and video editing services.
Version: 1.0.0
Text Domain: sarfaraaz-it
*/

:root {
  --primary: #0d6efd;
  --primary-dark: #0b5ed7;
  --dark: #12161f;
  --dark-light: #1c222e;
  --text-main: #2b303a;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --accent: #25d366; /* WhatsApp Green */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header & Nav */
.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.brand-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-whatsapp {
  background-color: var(--accent);
  color: var(--white);
}

.btn-whatsapp:hover {
  background-color: #1ebc59;
}

/* Hero Section */
.hero-section {
  padding: 90px 0 70px;
  background: linear-gradient(135deg, #f0f5ff 0%, #ffffff 100%);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Welcome Section */
.welcome-section {
  padding: 80px 0;
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Services Grid */
.services-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Portfolio Section */
.portfolio-section {
  padding: 80px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.portfolio-item {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 25px;
  background-color: var(--white);
}

.portfolio-category {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-item-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 8px 0;
  color: var(--dark);
}

/* Testimonials */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: var(--dark);
  color: var(--white);
}

.contact-section .section-title {
  color: var(--white);
}

.contact-section .section-desc {
  color: #adb5bd;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.contact-box {
  background: var(--dark-light);
  padding: 25px;
  border-radius: 8px;
}

.contact-box h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.contact-box p {
  color: #adb5bd;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background-color: #0b0e14;
  color: #6c757d;
  padding: 25px 0;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .nav-links { display: none; }
}