:root {
  /* Main colors */
  --primary-color: #0d6efd;
  --primary-dark: #0b5ed7;
  --primary-light: #3d8bfd;
  --secondary-color: #6c757d;
  --secondary-dark: #5a6268;
  --secondary-light: #868e96;
  --accent-color: #ff6b6b;
  --accent-dark: #ff4040;
  --accent-light: #ff9b9b;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  
  /* Background colors */
  --bg-light: #f8f9fa;
  --bg-dark: #212529;
  --bg-gradient: linear-gradient(135deg, rgba(13,110,253,0.15), rgba(255,107,107,0.15));
  --bg-glass: rgba(255, 255, 255, 0.1);
  
  /* Text colors */
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  
  /* Glassmorphism properties */
  --glass-blur: 10px;
  --glass-opacity: 0.1;
  --glass-border: 1px solid rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  
  /* Neo-brutalism properties */
  --brutalism-border: 3px solid #000;
  --brutalism-shadow: 5px 5px 0px 0px #000;
  --brutalism-radius: 2px;
  
  /* Spacing */
  --section-padding: 80px 0;
  --section-padding-sm: 60px 0;
  --card-padding: 25px;
  
  /* Border radius */
  --border-radius-sm: 5px;
  --border-radius-md: 10px;
  --border-radius-lg: 15px;
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* Base styles */
body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

p {
  line-height: 1.7;
  color: var(--text-dark);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  margin-bottom: 20px;
}

/* Utility classes */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-light { color: var(--text-light) !important; }
.text-dark { color: var(--text-dark) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }
.bg-light { background-color: var(--bg-light) !important; }
.bg-dark { background-color: var(--bg-dark) !important; }
.bg-gradient { background: var(--bg-gradient) !important; }

/* Buttons */
.btn {
  font-weight: 600;
  padding: 10px 25px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
  z-index: -1;
}

.btn:hover:before {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-light {
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-outline-light:hover {
  background-color: var(--text-light);
  color: var(--text-dark);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

.btn.neo-brutalism {
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
  border-radius: var(--brutalism-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.neo-brutalism:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0px 0px #000;
}

.btn.neo-brutalism:active {
  transform: translate(4px, 4px);
  box-shadow: 1px 1px 0px 0px #000;
}

/* Glassmorphism styles */
.glassmorphism {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius-md);
  transition: var(--transition-normal);
}

.glassmorphism:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Neo-brutalism styles */
.neo-brutalism {
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
  border-radius: var(--brutalism-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.neo-brutalism:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0px 0px #000;
}

/* Header/Navbar */
.glassmorphism-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: var(--transition-normal);
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.75rem;
}

.nav-link {
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  padding: 8px 0;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-normal);
}

.nav-link:hover:after {
  width: 100%;
}

.nav-link.active:after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-background:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
  padding: 20px;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

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

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

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  overflow: hidden;
  padding: var(--card-padding);
}

.service-card .card-image {
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
  text-align: center;
}

.service-card img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card .card-title {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.service-card .card-text {
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card .btn {
  align-self: flex-start;
}

/* About Section */
.about-section {
  background: var(--bg-gradient);
}

.about-image {
  overflow: hidden;
  margin-bottom: 20px;
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content {
  padding: 30px;
}

.about-content h3 {
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 700;
}

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

.portfolio-filter {
  margin-bottom: 30px;
}

.portfolio-filter button {
  margin: 0 5px;
  padding: 8px 15px;
  background: transparent;
  transition: var(--transition-normal);
}

.portfolio-filter button.active {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.portfolio-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: var(--card-padding);
}

.portfolio-card .card-image {
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
  text-align: center;
}

.portfolio-card img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-card .card-content {
  flex-grow: 1;
}

.portfolio-card .card-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.portfolio-card .badge {
  margin-right: 5px;
  font-weight: 500;
}

/* Projects Section */
.projects-section {
  background: var(--bg-gradient);
}

.project-card {
  padding: 20px;
  margin-bottom: 20px;
  transition: var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card .card-image {
  text-align: center;
  margin-bottom: 15px;
}

.project-card .card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
}

.project-card .card-content h3 {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

/* Gallery Section */
.gallery-section {
  background-color: var(--bg-light);
}

.gallery-container {
  margin-bottom: 30px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  padding: 20px;
  color: var(--text-light);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  margin: 0;
  font-weight: 600;
}

/* Blog Section */
.blog-section {
  background: var(--bg-gradient);
}

.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: var(--card-padding);
}

.blog-card .card-image {
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
  text-align: center;
}

.blog-card img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-card .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card h3 {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.blog-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.blog-card p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card .btn {
  align-self: flex-start;
}

/* Insights Section */
.insights-section {
  background-color: var(--bg-light);
}

.insights-accordion .accordion-item {
  margin-bottom: 15px;
  border: none;
}

.insights-accordion .accordion-button {
  font-weight: 600;
  padding: 15px 20px;
  background-color: transparent;
}

.insights-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: transparent;
  box-shadow: none;
}

.insights-accordion .accordion-body {
  padding: 20px;
}

/* Resources Section */
.resources-section {
  background: var(--bg-gradient);
}

.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: var(--card-padding);
}

.resource-card .card-image {
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
  text-align: center;
}

.resource-card img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.resource-card:hover img {
  transform: scale(1.05);
}

.resource-card .card-content {
  flex-grow: 1;
}

.resource-card h3 {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.resource-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resource-links li {
  margin-bottom: 10px;
}

.resource-links a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-normal);
  display: inline-block;
  padding: 5px 0;
  position: relative;
}

.resource-links a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-normal);
}

.resource-links a:hover:after {
  width: 100%;
}

/* Innovation Section */
.innovation-section {
  background-color: var(--bg-light);
}

.innovation-image {
  overflow: hidden;
  margin-bottom: 20px;
}

.innovation-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.innovation-image:hover img {
  transform: scale(1.05);
}

.innovation-content {
  padding: 30px;
}

.innovation-content h3 {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

/* Pricing Section */
.pricing-section {
  background: var(--bg-gradient);
}

.pricing-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 40px 30px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  transform: translateY(-10px);
  border: 3px solid var(--primary-color);
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 5px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

.pricing-header {
  margin-bottom: 30px;
}

.pricing-header h3 {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.currency {
  font-size: 1.5rem;
  margin-right: 5px;
  align-self: flex-start;
}

.period {
  font-size: 1rem;
  color: var(--text-muted);
  align-self: flex-end;
  font-weight: 400;
}

.pricing-features {
  margin-bottom: 30px;
  flex-grow: 1;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.pricing-features li i {
  color: var(--success-color);
  margin-right: 10px;
}

.pricing-cta {
  text-align: center;
}

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

.contact-info {
  padding: 30px;
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 5px;
}

.contact-map {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.contact-map img {
  width: 100%;
  height: auto;
}

.contact-form {
  padding: 30px;
  height: 100%;
}

.contact-form h3 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.form-control {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 12px 15px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-normal);
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

textarea.form-control {
  resize: none;
}

/* Footer */
.footer-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 70px 0 20px;
}

.footer-info h3 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
}

.footer-info p {
  color: var(--text-light);
  opacity: 0.8;
}

.footer-links h3 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: var(--text-light);
  opacity: 0.8;
  transition: var(--transition-normal);
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 5px;
  color: var(--primary-light);
}

.footer-newsletter h3 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
}

.footer-newsletter p {
  color: var(--text-light);
  opacity: 0.8;
  margin-bottom: 20px;
}

.footer-newsletter .input-group {
  margin-bottom: 20px;
}

.social-links {
  margin-top: 20px;
}

.social-links h4 {
  color: var(--text-light);
  margin-bottom: 15px;
}

.social-links a {
  color: var(--text-light);
  opacity: 0.8;
  margin-right: 15px;
  transition: var(--transition-normal);
}

.social-links a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--text-light);
  opacity: 0.6;
}

/* Modal */
.modal-content.glassmorphism {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
}

.success-container {
  max-width: 600px;
  text-align: center;
  padding: 50px;
}

.success-icon {
  font-size: 5rem;
  color: var(--success-color);
  margin-bottom: 30px;
}

.success-message h1 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.success-actions {
  margin-top: 30px;
}

/* Privacy and Terms Pages */
.page-content {
  padding-top: 100px;
  padding-bottom: 50px;
}

.page-content h1 {
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.page-content h2 {
  font-weight: 600;
  margin: 40px 0 20px;
  color: var(--text-dark);
}

.page-content p {
  margin-bottom: 20px;
}

.page-content ul {
  margin-bottom: 20px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes morphing {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.animate-fadeIn {
  animation: fadeIn 1s ease forwards;
}

.animate-morphing {
  animation: morphing 8s ease-in-out infinite;
}

/* Media queries */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: var(--border-radius-sm);
  }
  
  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-buttons .btn {
    margin-bottom: 10px;
    width: 100%;
  }
  
  .contact-info {
    margin-bottom: 30px;
  }
  
  .footer-info, .footer-links, .footer-newsletter {
    margin-bottom: 30px;
  }
}

@media (max-width: 575px) {
  section {
    padding: var(--section-padding-sm);
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .portfolio-filter button {
    margin-bottom: 10px;
  }
}