/* Modern Enhanced Styles for bigO Digital */

/* Import Google Fonts with multiple weights */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Enhanced Animations and Transitions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  animation-fill-mode: both;
  animation-duration: 0.8s;
}

.animate-on-scroll.animated {
  opacity: 1;
}

.fade-in-up {
  animation-name: fadeInUp;
}

.fade-in-left {
  animation-name: fadeInLeft;
}

.fade-in-right {
  animation-name: fadeInRight;
}

.scale-in {
  animation-name: scaleIn;
}

.slide-down {
  animation-name: slideDown;
}

/* CSS Variables for Modern Color Palette */
:root {
  --primary-color: #1a365d;
  --secondary-color: #ff6b35;
  --accent-color: #4299e1;
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --bg-primary: #ffffff;
  --bg-secondary: #f7fafc;
  --bg-accent: #edf2f7;
  --border-color: #e2e8f0;
  --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
  --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #e53e3e 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Modern Typography Scale */
h1, h2, h3, h4, h5, h6 {
  /*font-family: 'Playfair Display', Georgia, serif;*/
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 2.25rem;
  font-weight: 600;
}

h4 {
  font-size: 1.875rem;
  font-weight: 600;
}

h5 {
  font-size: 1.5rem;
  font-weight: 600;
}

h6 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

/*!* Modern Header/Navigation *!*/
/*#header {*/
/*  background: rgba(255, 255, 255, 0.95);*/
/*  backdrop-filter: blur(10px);*/
/*  box-shadow: var(--shadow-light);*/
/*  border-bottom: 1px solid var(--border-color);*/
/*  transition: all 0.3s ease;*/
/*  min-height: 70px;*/
/*}*/

/*#header .container {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  !*min-height: 70px;*!*/
/*}*/

/*#header .logo {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  height: 100%;*/
/*}*/

/*#header .logo img {*/
/*  max-height: 37px;*/
/*  transition: all 0.3s ease;*/
/*}*/

/*#header.header-scrolled {*/
/*  min-height: 60px;*/
/*  background: rgba(255, 255, 255, 0.98);*/
/*}*/

/*#header.header-scrolled .container {*/
/*  min-height: 60px;*/
/*}*/

/*#header.header-scrolled .logo img {*/
/*  max-height: 38px;*/
/*}*/

/*#header .logo:hover img {*/
/*  transform: scale(1.05);*/
/*}*/

 /*Fix navigation vertical centering */
.main-nav {
  margin-left: 2rem;
}

.main-nav ul {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

#header .logo img {
  max-height: 37px;
  transition: all 0.3s ease;
}
.main-nav ul li a {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
}

.main-nav ul li a:hover {
  color: var(--primary-color);
  background-color: var(--bg-accent);
  transform: translateY(-1px);
}

.main-nav ul li.active a {
  color: var(--primary-color);
  font-weight: 600;
}

/* Modern Dropdown */
.dropdown-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-large);
  padding: 0.5rem;
}

.dropdown-content a {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background-color: var(--bg-accent);
  transform: translateX(4px);
}

/* Enhanced Hero Section */
#intro {
  background: var(--gradient-hero);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

#intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="white" stroke-opacity="0.1" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.intro-info {
  position: relative;
  z-index: 2;
}

.intro-info h2 {
  color: white;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.intro-info p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 600px;
}

.intro-img img {
  border-radius: 20px;
  box-shadow: var(--shadow-large);
  transition: transform 0.3s ease;
}

.intro-img img:hover {
  transform: translateY(-10px) scale(1.02);
}

/* Modern Button Styles */
.btn-get-started {
  background: var(--gradient-secondary);
  color: white;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
  margin-right: 1.5rem;
}

.btn-get-started:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
  color: white;
  text-decoration: none;
}

.btn-services {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-services:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

/*!* Enhanced About Section *!*/
/*#about {*/
/*  padding: 6rem 0;*/
/*  background: var(--bg-secondary);*/
/*}*/

/*.section-header h4 {*/
/*  font-size: 2.75rem;*/
/*  color: var(--primary-color);*/
/*  text-align: center;*/
/*  margin-bottom: 1rem;*/
/*}*/

/*.section-header span {*/
/*  color: var(--secondary-color);*/
/*  font-weight: 700;*/
/*}*/

/*.section-header .text-center span {*/
/*  font-size: 1.25rem;*/
/*  color: var(--text-secondary);*/
/*  display: block;*/
/*  margin-bottom: 1rem;*/
/*}*/

/*.section-header h6 {*/
/*  font-size: 1.1rem;*/
/*  color: var(--text-light);*/
/*  font-weight: 400;*/
/*  font-family: 'Inter', sans-serif;*/
/*}*/

/*.about-extra h4 {*/
/*  color: var(--primary-color);*/
/*  font-size: 1.75rem;*/
/*  margin-bottom: 1rem;*/
/*}*/

/*.about-extra p {*/
/*  font-size: 1.1rem;*/
/*  line-height: 1.8;*/
/*  color: var(--text-secondary);*/
/*}*/

/*.about-extra img {*/
/*  border-radius: 20px;*/
/*  box-shadow: var(--shadow-medium);*/
/*  transition: transform 0.3s ease;*/
/*}*/

/*.about-extra img:hover {*/
/*  transform: scale(1.05);*/
/*}*/

/* Enhanced Case Studies Section */
#case-studies {
  background: var(--gradient-primary);
  padding: 2rem 0;
}

#case-studies h2 {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Case Study Items - Smaller and More Spaced */
.case-study-item {
  padding: 0.75rem;
  margin-bottom: 2rem;
}

.case-study-item .card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: var(--shadow-medium);
    max-height: 520px;
  max-width: 500px;
  margin: 0 auto;
}

.case-study-item .card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.15), 0 8px 8px -5px rgba(0, 0, 0, 0.06);
}

.case-study-item .card-body {
  padding: 1.5rem;
}

.case-study-item .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
  line-height: 1.4;
}

/* Case Study Grid Spacing */
#case-studies .row {
  gap: 2rem 0;
}

#case-studies .col-12.col-md-6 {
  display: flex;
  justify-content: center;
}

.custom-btn {
  background: var(--gradient-secondary);
  color: white;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.custom-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: white;
  text-decoration: none;
}

.btn-services-details {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-services-details:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Enhanced Technologies Section */
.modern-tech-section {
  background: var(--bg-primary);
  padding: 6rem 0;
}

.modern-header .tech-title {
  font-size: 2.75rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1rem;
}

.modern-header .tech-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 4rem;
}

.tech-card {
  /*background: white;*/
  /*padding: 2rem;*/
  border-radius: 20px;
  text-align: center;
  /*transition: all 0.3s ease;*/
  /*border: 1px solid var(--border-color);*/
  /*height: 100%;*/
  /*display: flex;*/
  /*flex-direction: column;*/
  align-items: center;
  justify-content: center;
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
  border-color: var(--accent-color);
}

/* Enhanced Contact Section */
#contact {
  background: var(--bg-secondary);
  padding: 6rem 0;
}

/* Modern Contact Form Styles */
.contact1 {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
  padding: 4rem 2rem;
}

.container-contact1 {
  background: var(--bg-primary);
  border-radius: 20px;
  box-shadow: var(--shadow-large);
  padding: 3rem 4rem;
  /*max-width: 800px;*/
  margin: 0 auto;
}

.contact-header h4 {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
}

.contact-header h4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.wrap-input1 {
  position: relative;
  margin-bottom: 2rem;
}

.input1 {
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-primary);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.input1:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
  transform: translateY(-2px);
}

.input1::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

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

.container-contact1-form-btn {
  text-align: center;
  margin-top: 2rem;
}

.contact1-form-btn {
  background: var(--gradient-secondary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.contact1-form-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.contact1-form-btn:hover:before {
  left: 100%;
}

.contact1-form-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.contact1-form-btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.contact1-form-btn:hover i {
  transform: translateX(5px);
}

/* Contact Info Styling */
.contact-header .row a {
  color: var(--text-primary) !important;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: block;
}

.contact-header .row a:hover {
  background: var(--bg-accent);
  transform: translateY(-2px);
}

/* Social Media Icons */
.social-media a {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin: 0 0.5rem;
  padding: 0.5rem;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.social-media a:hover {
  color: var(--primary-color);
  background-color: var(--bg-accent);
  transform: translateY(-2px);
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
  .intro-info h2 {
    font-size: 2.5rem;
  }
  
  .section-header h4 {
    font-size: 2rem;
  }
  
  #case-studies h2 {
    font-size: 2.25rem;
  }
  
  .btn-get-started {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  .btn-services {
    padding: 0.875rem 1.75rem;
  }
  
  .tech-card {
    padding: 0px;
  }
  #intro {
      padding: 4rem 0 5rem;
  }
}

/* Animation Utilities */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading-skeleton {
  background: linear-gradient(90deg, var(--bg-accent) 25%, var(--bg-secondary) 50%, var(--bg-accent) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}