:root {
  --primary: #2563eb;
  --secondary: #7c3aed;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
}

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background: #fff;
  color: var(--text-dark);
  scroll-behavior: smooth;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

nav a {
  text-decoration: none;
  margin-right: 4rem;
  color: var(--text-dark);
  font-weight: 600;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s;
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

/* Hero */
.hero {
  background: linear-gradient(270deg, var(--primary), var(--secondary), #9333ea);
  background-size: 600% 600%;
  animation: gradientFlow 12s ease infinite;
  color: #fff;
  text-align: center;
  padding: 10rem 2rem 8rem;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Button */
.btn-modern {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-new {
  background: #fff;
  color: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37,99,235,0.3);
}

/* Section */
.section {
  padding: 6rem 2rem;
  text-align: center;
}

.section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.cta-banner {
  text-align: center;
  padding: 6rem 2rem;
  background: var(--bg-light);
}

.cta-banner h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

/* About */
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-text {
  flex: 1 1 400px;
  text-align: left;
}

.about-image img {
  border-radius: 16px;
  width: 100%;
  height: auto;
}

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  padding: 2rem;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.portfolio-item img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.portfolio-item img:hover {
  transform: scale(1.03);
}

/* Contact */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 3rem;
}

.contact-left {
  flex: 1 1 300px;
  text-align: left;
}

.contact-left a {
  color: var(--secondary);
  text-decoration: none;
}

.contact-right {
  flex: 1 1 400px;
}

.contact-form-modern input,
.contact-form-modern textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  font-family: inherit;
}

.contact-form-modern input:focus,
.contact-form-modern textarea:focus {
  border-color: var(--primary);
  outline: none;
}

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 2rem;
  text-align: center;
  color: var(--text-light);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  header {
    padding: 1rem 1.5rem;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-wrapper {
    flex-direction: column;
    text-align: center;
  }
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.btn-send {
  background-color: #2563eb;
  color:#fff;
  padding: 1rem 2rem;
  border: 0;
  font-family: Lato;
  font-size: 15px;
  border-radius: 12px;
  transition: box-shadow 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.btn-send:hover {
  cursor: pointer;
  background-color: #7c3aed;
  box-shadow:  0 6px 15px rgba(0,0,0,0.15);
}

.btn-send:active {
  background-color: #fff;
  color:#7c3aed
}








