/* Base Styles */
:root {
  --primary: #3B82F6;
  --primary-dark: #1d4ed8;
  --secondary: #0f172a;
  --accent: #06b6d4;
  --accent-yellow: #FDB913;
  --light: #f8fafc;
  --gray: #64748b;
  --dark: #1e293b;
}

/* Signature Block Styles - Fixed positioning */
.signature-block {
  position: fixed;
  top: 300px;
  right: 100px;
  width: 100px;
  opacity: 0.7;
  z-index: 1001;
  pointer-events: none;
}

.signature-block-overlay {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  opacity: 0.35;
  z-index: 2;
  pointer-events: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-image: url('images/background.jpg');
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 1;
}

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

.section-title h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background: var(--primary);
  bottom: -10px;
  left: 20%;
}

.section-title p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

/* Header Styles */
header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 700;
}

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

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--primary);
}

.header-left img {
  max-width: 60vw;
  height: auto;
  max-height: 80px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--secondary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

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

.hero-text {
  flex: 1;
  padding-right: 50px;
}

.hero-text h1 {
  font-size: 3.5rem;
  color: var(--secondary);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

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

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
  background: var(--light);
}

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

.service-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary);
}

.service-card p {
  color: var(--gray);
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

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

.about-features {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Portfolio Section */
.portfolio {
  background: var(--light);
}

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

.portfolio-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  background: white;
}

.portfolio-image {
  height: 250px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-content {
  padding: 20px;
}

.portfolio-content h3 {
  margin-bottom: 10px;
  color: var(--secondary);
}

.portfolio-content p {
  color: var(--gray);
}

/* Testimonials Section */
.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--dark);
}

.client-info {
  display: flex;
  align-items: center;
}

.client-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

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

.client-details h4 {
  color: var(--secondary);
  margin-bottom: 5px;
}

.client-details p {
  color: var(--gray);
  margin: 0;
  font-style: normal;
}

/* Contact Section */
.contact {
  background: var(--light);
}

.contact-content {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.contact-info p {
  margin-bottom: 30px;
  color: var(--gray);
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.contact-form {
  flex: 1;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

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

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

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

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--primary);
  bottom: 0;
  left: 0;
}

.footer-column ul {
  list-style: none;
}

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

.footer-column ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-column p {
  color: #cbd5e1;
  margin-bottom: 20px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.3s;
}

.social-links a:hover {
  background: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  color: #cbd5e1;
}

/* Service Hero Section */
.service-hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 150px 0 80px;
  text-align: center;
}

.service-hero h1 {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.service-hero p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 800px;
  margin: 0 auto;
}

/* Service Details Section */
.service-details {
  padding: 80px 0;
}

.service-details-content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.service-details-text {
  flex: 2;
}

.service-details-text h2 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.service-details-text p {
  margin-bottom: 20px;
  color: var(--gray);
}

.service-features {
  margin: 30px 0;
}

.service-features h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary);
}

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

.service-features ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.service-features ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.service-details-image {
  flex: 1;
  text-align: center;
}

.service-details-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Service Process Section */
.service-process {
  background: var(--light);
  padding: 80px 0;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.process-step {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: bold;
}

.process-step h3 {
  margin-bottom: 15px;
  color: var(--secondary);
}

/* Service CTA Section */
.service-cta {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.service-cta h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.service-cta p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Service Navigation */
.service-nav {
  background: var(--light);
  padding: 20px 0;
  margin-top: 70px;
}

.service-nav-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.service-nav-item {
  padding: 10px 20px;
  background: white;
  border-radius: 4px;
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.service-nav-item:hover,
.service-nav-item.active {
  background: var(--primary);
  color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content,
  .about-content,
  .contact-content,
  .service-details-content {
    flex-direction: column;
  }

  .hero-text,
  .about-text,
  .contact-info,
  .service-details-text {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .service-hero h1 {
    font-size: 2.5rem;
  }

  .signature-block {
    left: 10px;
    top: 80px;
    width: 70px;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 130px 0 80px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .service-hero {
    padding: 130px 0 60px;
  }

  .service-cta h2 {
    font-size: 2rem;
  }

  .signature-block {
    display: none;
  }

  .header-left img {
    max-width: 80vw;
    max-height: 60px;
  }

  .header-container {
    padding: 10px 15px;
  }
}
