/* Base Styles */
:root {
  --background-gradient: linear-gradient(109.6deg, rgba(223,234,247,1) 11.2%, rgba(244,248,252,1) 91.1%);
  --glass-bg: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-dark-bg: rgba(0, 0, 0, 0.05);
  --text-color: #000000;
  --text-secondary: rgba(0, 0, 0, 0.7);
  --border-radius: 16px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  text-transform: lowercase;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-image: var(--background-gradient);
  background-attachment: fixed;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glass Effect */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.glass-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
button {
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  text-transform: lowercase;
}

.primary-btn {
  background: var(--glass-dark-bg);
  color: var(--text-color);
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.primary-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

.secondary-btn {
  background: transparent;
  color: var(--text-color);
  border: 1px solid rgba(0, 0, 0, 0.3);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
}

.secondary-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.text-btn {
  background: transparent;
  color: var(--text-color);
  border: none;
  padding: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  font-weight: 500;
}

.text-btn:hover {
  border-bottom-color: var(--text-color);
}

.submit-btn {
  width: 100%;
  background: var(--glass-dark-bg);
  color: var(--text-color);
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.submit-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);

    /* Glassy effect */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-color);
  opacity: 0.9;
}

.desktop-nav {
  display: none;
}

.mobile-menu-btn {
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
  transform: translateX(0);
}

.close-menu-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-menu-content button {
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 300;
  opacity: 0.8;
}

.mobile-menu-content button:hover {
  opacity: 1;
}

/* Hero Section */
.hero-section {
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-section h1 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin: 0 auto;
  max-width: 400px;
}

.bg-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}

.bg-element-1 {
  top: 5rem;
  left: -6rem;
  width: 16rem;
  height: 16rem;
  background: linear-gradient(to right, rgba(173, 216, 230, 0.3), rgba(147, 112, 219, 0.3));
}

.bg-element-2 {
  bottom: 5rem;
  right: -6rem;
  width: 20rem;
  height: 20rem;
  background: linear-gradient(to right, rgba(173, 216, 230, 0.2), rgba(64, 224, 208, 0.2));
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  opacity: 0;
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 1.75rem;
  color: rgba(0, 0, 0, 0.8);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* About Section */
.about-section {
  background: rgba(255, 255, 255, 0.1);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item .label {
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
  text-transform: lowercase;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
  text-transform: lowercase;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    padding: 2rem 0;

    /* Glassy effect */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-content {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--text-color);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-fade-in {
  animation: fadeIn 0.6s forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.7s forwards;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-400 {
  animation-delay: 400ms;
}

/* Media Queries */
@media (min-width: 640px) {
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .btn-group {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .desktop-nav button {
    background: transparent;
    border: none;
    color: var(--text-color);
    opacity: 0.8;
  }
  
  .desktop-nav button:hover {
    opacity: 1;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .hero-section h1 {
    font-size: 3.5rem;
  }
  
  .hero-section p {
    font-size: 1.25rem;
  }
  
  section {
    padding: 6rem 0;
  }
}
