/* Root Variables */
:root {
  --primary-color: #3181D6;
  --secondary-color: #296AB1;
  --tertiary-color: #3284DB;
  --accent-color: #0B6E8F;
  --text-color: #333;
  --text-light: #FFF;
  --light-bg: #f8f9fa;
  --dark-bg: #293948;
  --black: #000000;
}

/* Base Styles */
html {
  font-size: 14px;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  padding-top: 100px;
}

/* Navigation Styles */
.navbar {
  background: var(--dark-bg);
  backdrop-filter: none;
  padding: 1.1rem 0;
  box-shadow: none;
  transition: all 0.3s ease;
  min-height: 100px;
}

.navbar.scrolled {
  background: var(--dark-bg);
  backdrop-filter: blur(10px);
  padding: 0.55rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-brand {
  color: var(--text-light) !important;
  transition: all 0.3s ease;
  padding: 0;
  display: flex;
  align-items: center;
}

.navbar-brand:hover {
  opacity: 0.95;
}

.brand-logo-img {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.navbar.scrolled .brand-logo-img {
  height: 50px;
}

/* Legacy brand logo styles */
.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
}

.brand-line1 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-light);
  letter-spacing: -0.5px;
}

.brand-line2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-light);
  letter-spacing: -0.5px;
  margin-top: -0.2rem;
}

.brand-line3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-light);
  letter-spacing: -0.5px;
  margin-top: -0.2rem;
}

.navbar-nav {
  gap: 1rem;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.7) !important;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.3px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: rgba(255,255,255,1) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--text-light);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 60%;
}

/* Hire Me Button */
.btn-hire-me {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--text-light) !important;
  padding: 0.6rem 1.75rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-hire-me:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-hire-me i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.btn-hire-me:hover i {
  transform: translateX(3px);
}

/* Hero Split Section */
.hero-split-section {
  background: var(--dark-bg);
  padding: 2rem 0 6rem 0;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
}

.hero-image-box {
  position: relative;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shape {
  width: 100%;
  max-width: 400px;
  height: 400px;
  background: rgba(52, 58, 64, 0.8);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.hero-shape:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-text-content {
  padding: 2rem;
  color: var(--text-light);
}

.hero-main-title {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--text-light);
}

.highlight-text {
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(49, 129, 214, 0.4);
  color: var(--text-light);
}

.btn-outline-custom {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text-light);
  transform: translateY(-3px);
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background: var(--dark-bg);
}

.service-card {
  background: rgba(52, 58, 64, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 3rem 2rem;
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(52, 58, 64, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.service-icon {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.service-list li {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.service-list li:hover {
  color: rgba(255, 255, 255, 1);
  padding-left: 0.5rem;
}

.service-list li i {
  margin-right: 1rem;
  color: var(--primary-color);
  font-size: 0.8rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Legacy Content Section Styles (for compatibility) */
.content-section {
  padding: 5rem 0;
  background: var(--light-bg);
}

.content-card {
  background: white;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.content-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-icon {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.content-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-bg);
  margin-bottom: 0.5rem;
}

.content-card h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.content-card p {
  color: var(--text-color);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Footer Styles */
.site-footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 2rem 0;
  margin-top: 0;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

/* FAQ Section Styles */
.faq-section {
  padding: 5rem 0 3rem;
  background: var(--light-bg);
}

.faq-header {
  margin-bottom: 3rem;
}

.faq-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 1rem;
}

.faq-header .lead {
  font-size: 1.2rem;
  color: var(--text-color);
}

.faq-content {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--secondary-color);
}

.faq-item:hover {
  box-shadow: 0 5px 25px rgba(0,0,0,0.12);
  transform: translateX(5px);
}

.faq-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-bg);
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--text-color);
  line-height: 1.8;
  margin: 0;
}

/* Contact Section Styles */
.contact-section {
  padding: 4rem 0 5rem;
  background: white;
}

.contact-info-card {
  padding: 2rem;
}

.contact-info-card h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 1rem;
}

.contact-info-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-info-card .text-primary {
  color: var(--secondary-color) !important;
}

.contact-info-card p {
  color: var(--text-color);
  line-height: 1.8;
}

.business-info {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.business-info h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-bg);
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item i {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-right: 1rem;
  margin-top: 0.25rem;
  min-width: 20px;
}

.info-item p {
  margin: 0;
  line-height: 1.8;
}

.info-item a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.info-item a:hover {
  text-decoration: underline;
}

.action-buttons .btn {
  margin-bottom: 0.5rem;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  height: 100%;
  min-height: 450px;
}

.map-container iframe {
  height: 100%;
  min-height: 450px;
}

/* Contact Page Legacy Styles (for compatibility) */
.contact-page,
.portfolio-page {
  padding: 4rem 0;
}

.contact-hero,
.portfolio-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-hero h1,
.portfolio-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 1rem;
}

.contact-hero .lead,
.portfolio-hero .lead {
  font-size: 1.2rem;
  color: var(--text-color);
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info h4 {
  color: var(--dark-bg);
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-form-container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Form Styles */
.form-label {
  font-weight: 500;
  color: var(--dark-bg);
}

.form-control {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 0.75rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Button Styles */
.btn-primary {
  background: var(--primary-color);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(49, 129, 214, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(49, 129, 214, 0.3);
}

/* Modal Styles */
.modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  border-radius: 12px 12px 0 0;
  padding: 1.5rem 2rem;
  border: none;
}

.modal-header .modal-title {
  font-weight: 600;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  border-top: 1px solid #eee;
  padding: 1.5rem 2rem;
}

.recaptcha-notice {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.recaptcha-notice a {
  color: var(--primary-color);
  text-decoration: none;
}

.recaptcha-notice a:hover {
  text-decoration: underline;
}

/* Portfolio Page Styles */
.portfolio-content {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.portfolio-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-placeholder {
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-bg);
  margin-bottom: 0.75rem;
}

.portfolio-info p {
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.portfolio-info .badge {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(41, 57, 72, 0.98);
  color: var(--text-light);
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.cookie-consent h5 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.cookie-consent p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-consent .btn-light {
  background: var(--text-light);
  color: var(--dark-bg);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cookie-consent .btn-light:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-split-section {
    padding: 4rem 0;
    min-height: auto;
  }

  .hero-shape {
    max-width: 300px;
    height: 300px;
  }

  .hero-main-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-buttons .me-3 {
    margin-right: 0 !important;
  }

  .services-section {
    padding: 4rem 0;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .content-section {
    padding: 3rem 0;
  }

  .contact-page,
  .portfolio-page {
    padding: 2rem 0;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .brand-logo-img {
    height: 40px;
    max-width: 150px;
  }

  .brand-line1,
  .brand-line2,
  .brand-line3 {
    font-size: 1.2rem;
  }

  .navbar-nav {
    gap: 0;
    padding: 1rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0 !important;
  }

  .btn-hire-me {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }

  .navbar-collapse {
    background: rgba(41, 57, 72, 0.98);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
  }

  .faq-section {
    padding: 3rem 0 2rem;
  }

  .faq-header h1 {
    font-size: 2rem;
  }

  .faq-item {
    padding: 1.5rem;
  }

  .faq-item h3 {
    font-size: 1.1rem;
  }

  .contact-section {
    padding: 3rem 0;
  }

  .contact-info-card {
    padding: 1rem;
    margin-bottom: 2rem;
  }

  .contact-info-card h2 {
    font-size: 1.5rem;
  }

  .action-buttons .btn-lg {
    width: 100%;
    margin-bottom: 1rem;
  }

  .action-buttons .btn-lg.ms-2 {
    margin-left: 0 !important;
  }

  .map-container {
    min-height: 300px;
  }

  .map-container iframe {
    min-height: 300px;
  }

  .business-info {
    padding: 1rem;
  }

  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .cookie-consent-content {
    padding: 1.5rem 1rem;
  }

  .cookie-consent h5 {
    font-size: 1.1rem;
  }

  .cookie-consent p {
    font-size: 0.85rem;
  }
}

/* Privacy Page Styles */
.privacy-page {
  padding: 4rem 0;
}

.privacy-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.privacy-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 1rem;
}

.privacy-hero .lead {
  font-size: 1.2rem;
  color: var(--text-color);
}

.privacy-content {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-content h2 {
  color: var(--dark-bg);
  font-weight: 600;
  font-size: 1.5rem;
}

.privacy-content p,
.privacy-content li {
  color: var(--text-color);
  line-height: 1.8;
}

.privacy-content ul {
  margin-left: 1.5rem;
}

/* Utility Classes */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}