:root {
  /* Analog color scheme */
  --primary-color: #2D5F91;  /* Deep Blue */
  --primary-light: #4882BD;
  --primary-dark: #1C4067;
  
  --secondary-color: #2A937A;  /* Teal */
  --secondary-light: #3DB499;
  --secondary-dark: #1C6455;
  
  --accent-color: #D67B22;  /* Orange */
  --accent-light: #F4983F;
  --accent-dark: #B35C10;
  
  /* Neutral colors */
  --dark: #333333;
  --medium: #666666;
  --light: #F5F5F5;
  --white: #FFFFFF;
  
  /* Shadows for 3D UI elements */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Typography */
  --heading-font: 'Archivo Black', sans-serif;
  --body-font: 'Roboto', sans-serif;
  
  /* Section Padding */
  --section-padding: 80px 0;
}

/* Base Styles */
body {
  font-family: var(--body-font);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--dark);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: 1.5rem;
  color: var(--medium);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-light);
}

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

.section-padding {
  padding: var(--section-padding);
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  color: var(--dark);
  margin-bottom: 0.5rem;
  position: relative;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* Buttons */
.btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
  border: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

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

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
}

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

.btn-outline-light {
  border: 2px solid var(--white);
  color: var(--white);
  background-color: transparent;
}

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

/* Header */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  padding: 20px 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.header.scrolled {
  padding: 15px 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 200px 0 120px;
  color: var(--white);
  text-align: center;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 2rem;
}

/* Vision Section */
.vision {
  background-color: var(--white);
}

.vision-content h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.vision-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.vision-image img:hover {
  transform: scale(1.02);
}

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

.portfolio-card {
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card .card-image {
  overflow: hidden;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.portfolio-card .card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.portfolio-card p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Projects Section */
.projects {
  background-color: var(--white);
}

.project-card {
  margin-bottom: 30px;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
}

.project-image {
  overflow: hidden;
}

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

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

.project-content {
  padding: 25px;
}

.project-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.project-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 1.5rem;
}

.project-details span {
  background-color: var(--light);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--medium);
}

/* Case Studies Section */
.case-studies {
  background-color: var(--light);
}

.case-study-card {
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.case-study-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.case-study-card .card-image {
  overflow: hidden;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-study-card:hover .card-image img {
  transform: scale(1.05);
}

.case-study-card .card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-study-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

/* Resources Section */
.resources {
  background-color: var(--white);
}

.resource-card {
  background-color: var(--light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.resource-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.resource-card p {
  margin-bottom: 1.5rem;
}

/* Blog Section */
.blog {
  background-color: var(--light);
}

.blog-card {
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.blog-card .card-image {
  overflow: hidden;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

.blog-date {
  color: var(--medium);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.read-more {
  margin-top: auto;
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.read-more:hover::after {
  width: 100%;
}

/* Customer Stories Section */
.customer-stories {
  background-color: var(--white);
}

.testimonial-card {
  background-color: var(--light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-image {
  margin-bottom: 20px;
}

.testimonial-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.testimonial-text {
  font-style: italic;
  color: var(--medium);
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--primary-light);
  opacity: 0.3;
  position: absolute;
  top: -20px;
  left: -10px;
}

.testimonial-author {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.testimonial-position {
  color: var(--medium);
  font-size: 0.9rem;
}

/* Behind the Scenes Section */
.behind-scenes {
  background-color: var(--light);
}

.behind-scenes-content h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.behind-scenes-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.behind-scenes-image img:hover {
  transform: scale(1.02);
}

/* Careers Section */
.careers {
  background-color: var(--white);
}

.career-card {
  background-color: var(--light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.career-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.career-requirements {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.career-requirements li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.career-requirements li:last-child {
  border-bottom: none;
}

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

.contact-info {
  padding: 30px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-details {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.contact-details li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.contact-details li:last-child {
  border-bottom: none;
}

.contact-details li i {
  margin-right: 10px;
  color: var(--primary-color);
}

.contact-map {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  padding: 30px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.form-control, .form-select {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

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

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  color: var(--white);
  margin-right: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--accent-light);
}

.footer-links {
  list-style-type: none;
  padding-left: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
  background-color: var(--accent-color);
  color: var(--white);
}

.newsletter-form .btn:hover {
  background-color: var(--accent-light);
}

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

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom-links {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-bottom: 0;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
}

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

/* Modal Styling */
.modal-content {
  border-radius: 10px;
  border: none;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  border-bottom: none;
  padding: 20px 30px 10px;
}

.modal-body {
  padding: 20px 30px;
}

.modal-footer {
  border-top: none;
  padding: 10px 30px 20px;
}

/* Custom Cookie Consent Popup */
#cookieConsentPopup {
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

#acceptCookies {
  transition: all 0.3s ease;
}

#acceptCookies:hover {
  background-color: #45a049;
  transform: translateY(-2px);
}

/* Additional Pages Styles */
.about-page, .contacts-page, .privacy-page, .terms-page {
  padding-top: 100px;
}

.about-page .content, .privacy-page .content, .terms-page .content {
  padding: 40px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

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

.success-container {
  text-align: center;
  padding: 50px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  width: 100%;
}

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

.success-title {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.success-message {
  margin-bottom: 30px;
}

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

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Media Queries */
@media (max-width: 991.98px) {
  .hero {
    padding: 150px 0 100px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 120px 0 80px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .testimonial-card {
    margin-bottom: 30px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .btn {
    padding: 10px 20px;
  }
}