/* 
  Theme: Modern, Clean, Calming
  Primary: Soft Teal / Sea Green
  Background: Pure White & Very Soft Gray
  Text: Dark Gray / Slate
*/

:root {
  --primary: #3D5CE2;
  /* Royal Blue from logo */
  --primary-light: #5A75EA;
  /* Light Blue */
  --primary-dark: #2A44B0;
  /* Dark Blue */
  --secondary: #e2e8f0;
  /* Soft gray for backgrounds */
  --accent: #C973C9;
  /* Pink/Purple from logo */
  --accent-light: #D98FD9;
  --accent-dark: #A555A5;

  --text-dark: #1e293b;
  --text-light: #475569;
  --text-muted: #94a3b8;

  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-alt: #f1f5f9;

  --radius: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --font-main: 'Outfit', sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-light);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.section-title {
  text-align: center;
  position: relative;
  margin-bottom: 3rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.text-center {
  text-align: center;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(61, 92, 226, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61, 92, 226, 0.4);
}

.btn-secondary {
  background-color: var(--text-dark);
  color: white;
  box-shadow: 0 4px 14px rgba(30, 41, 59, 0.3);
}

.btn-secondary:hover {
  background-color: #000;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

.mt-3 {
  margin-top: 1.5rem;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.8rem 0;
  box-shadow: var(--shadow);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  transition: var(--transition);
}

.header.scrolled .logo img {
  height: 40px;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.btn {
  color: white;
}

.nav-links a.btn:hover {
  color: white;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 12rem 0 8rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #fdf5fd 100%);
  overflow: hidden;
}

.hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(201, 115, 201, 0.1);
  color: var(--accent-dark);
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.hero h1 span {
  color: var(--primary);
  display: inline-block;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-shape {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-shape svg {
  width: 100%;
  height: auto;
}

/* About Section */
.about {
  background-color: var(--bg-white);
  position: relative;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  object-fit: cover;
}

.image-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  background-color: var(--primary-light);
  opacity: 0.2;
  z-index: 1;
}

.about-content .section-title {
  text-align: left;
}

.about-content .section-title::after {
  left: 0;
  transform: none;
}

/* Services Section */
.services {
  background-color: var(--bg-light);
}

.services-header {
  margin-bottom: 4rem;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background-color: rgba(201, 115, 201, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: white;
  transform: rotateY(180deg);
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Additional Detial - Image Break */
.image-break {
  padding: 0;
  background-color: var(--primary-dark);
  color: white;
}

.image-break-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  max-width: 100%;
}

.break-content {
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.break-content h2 {
  color: white;
}

.btn-primary.white {
  background-color: white;
  color: var(--primary-dark);
}

.btn-primary.white:hover {
  background-color: var(--bg-light);
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.break-image {
  height: 100%;
  min-height: 400px;
}

.break-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact Section */
.contact {
  background-color: var(--bg-white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info .section-title {
  text-align: left;
}

.contact-info .section-title::after {
  left: 0;
  transform: none;
}

.info-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.icon-wrap {
  width: 50px;
  height: 50px;
  background-color: rgba(201, 115, 201, 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.info-item p,
.info-item a {
  color: var(--text-light);
  margin: 0;
  text-decoration: none;
  font-size: 1rem;
}

/* Contact Form */
.contact-form-wrap {
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--secondary);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(61, 92, 226, 0.2);
  background-color: var(--bg-white);
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #34d399;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
}

/* Footer */
.footer {
  background-color: #0f172a;
  color: var(--text-muted);
  padding: 5rem 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 60px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: #cbd5e1;
  max-width: 350px;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-links span {
  font-weight: 600;
  color: white;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 0.8rem;
  color: #cbd5e1;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: white;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .about-container {
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-break-container {
    grid-template-columns: 1fr;
  }

  .break-content {
    padding: 4rem 2rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 1rem 0;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 2rem 0;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    gap: 1.5rem;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links .btn {
    display: block;
    text-align: center;
    max-width: 200px;
    margin: 0 auto;
  }

  .hero {
    padding: 8rem 0 6rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .contact-form-wrap {
    padding: 2rem 1.5rem;
  }
}