:root {
  /* Primary Colors */
  --primary-color: #05F2DB;
  --secondary-color: #EE05F2;
  --accent-color: #F241B4;
  
  /* Neutral Colors */
  --light-gray: #F8F9FA;
  --medium-gray: #E9ECEF;
  --dark-gray: #343A40;
  
  /* Text Colors */
  --text-primary: #48BED9;
  --text-secondary: #6C757D;
  --text-light: #fff;
  --text-dark: #333;
  
  /* Background Colors */
  --bg-light: #fff;
  --bg-dark: #333;
  
  /* Spacing */
  --section-padding: 60px 0;
  --section-padding-tablet: 40px 0;
  --section-padding-mobile: 30px 0;
  --container-padding: 15px;
  --card-margin: 30px;
  --card-margin-tablet: 20px;
  --card-margin-mobile: 15px;
  --content-padding: 20px;
  --content-padding-tablet: 15px;
  --content-padding-mobile: 10px;
  
  /* Typography */
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Poppins', sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3rem;
}

/* Base Typography */
body {
  font-family: var(--body-font);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: var(--font-size-base);
}

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

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

.lead {
  font-size: var(--font-size-lg);
  font-weight: 300;
  color: var(--text-secondary);
}

p {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: 15px;
}

.section-title p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
}

.light-background {
  background-color: var(--light-gray);
}

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

/* Hero Sections */
.about-hero, .services-hero {
  background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 60px 0;
  text-align: center;
}

.about-hero h1, .services-hero h1 {
  font-size: var(--font-size-3xl);
  margin-bottom: 1rem;
  color: var(--text-light);
}

.about-hero .lead, .services-hero .lead {
  font-size: var(--font-size-lg);
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-light);
}

/* Navigation */
.nav-pills .nav-link {
  color: var(--text-primary);
  background: transparent;
  border: 2px solid var(--medium-gray);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
  background-color: var(--light-gray);
  border-color: #EE05F2;
  color: #EE05F2;
}

.nav-pills .nav-link.active {
  background-color: #EE05F2;
  border-color: #EE05F2;
  color: var(--text-light);
}

/* Cards and Boxes */
.card, .value-box, .service-details, .service-item, .leader-card, .blog-card {
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  padding: var(--content-padding);
  margin-bottom: var(--card-margin);
}

/* Service Details and Items */
.services-content .service-details {
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: var(--content-padding);
  border-top: 3px solid var(--secondary-color);
}

.services-content .service-item {
  background: var(--text-light);
  margin-bottom: 1.5rem;
  padding: var(--content-padding);
  border-bottom: 1px solid var(--medium-gray);
  border-top: none;
  border-radius: 8px;
}

.services-content .service-item:last-child {
  margin-bottom: 0;
  padding-bottom: var(--content-padding);
  border-bottom: none;
}

.services-content .service-item h4 {
  color: var(--primary-color);
  font-size: var(--font-size-lg);
  margin-bottom: 0.75rem;
}

.services-content .service-item p {
  color: var(--text-secondary);
  margin-bottom: 0;
  padding: 0 10px;
}

.service-item.item-cyan {
  border-top: 3px solid var(--primary-color);
}

.service-item.item-orange {
  border-top: 3px solid var(--secondary-color);
}

.service-item.item-teal {
  border-top: 3px solid var(--accent-color);
}

.card:hover, .value-box:hover {
  transform: translateY(-5px);
}

/* Card Content Spacing */
.card-body, .value-box-content, .service-details-content, .leader-info, .blog-content {
  padding: var(--content-padding);
}

/* Card Headers */
.card-title, .value-box h3, .service-details h3, .leader-info h3, .blog-title {
  margin-bottom: 15px;
}

/* Card Text */
.card-text, .value-box p, .service-details p, .leader-info p, .blog-text {
  margin-bottom: 15px;
}

/* Card Images */
.card-img-top, .leader-img, .blog-img {
  padding: 15px;
}

/* Icons */
i {
  color: var(--secondary-color);
}

/* Buttons */
.btn {
  font-family: var(--body-font);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background-color: #d604e6;
  border-color: #d604e6;
}

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

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

/* Lists */
ul {
  list-style: none;
  padding: 0;
}

li {
  margin-bottom: 0.5rem;
}

/* Service Items */
.service-item h4 {
  color: var(--primary-color);
  font-size: var(--font-size-lg);
  margin-bottom: 0.5rem;
}

.service-item p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.service-item.item-cyan {
  border-top: 3px solid var(--primary-color);
}

.service-item.item-orange {
  border-top: 3px solid var(--secondary-color);
}

.service-item.item-teal {
  border-top: 3px solid var(--accent-color);
}

/* CTA Sections */
.about-cta, .service-cta {
  background: linear-gradient(rgba(27, 60, 115, 0.95), rgba(27, 60, 115, 0.95)), url('../img/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  color: var(--text-light);
}

.cta-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Footer Styles */
.footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer h4 {
  color: var(--text-light);
  font-size: var(--font-size-xl);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  opacity: 0.8;
}

.footer-links a:hover {
  color: var(--secondary-color);
  opacity: 1;
}

.footer-contact p {
  color: var(--text-light);
  opacity: 0.8;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--secondary-color);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.footer-social {
  margin-top: 2rem;
}

.footer-social a {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-right: 1rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--secondary-color);
  opacity: 1;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  opacity: 0.7;
  font-size: var(--font-size-sm);
}

/* Newsletter Form in Footer */
.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
}

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

.newsletter-form .btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.newsletter-form .btn-primary:hover {
  background-color: #c41530;
  border-color: #c41530;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer [class*="col-"] {
    margin-bottom: 2rem;
  }
  
  .footer [class*="col-"]:last-child {
    margin-bottom: 0;
  }
  
  .footer-social {
    margin-top: 1rem;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  :root {
    --font-size-4xl: 2.5rem;
    --font-size-3xl: 2rem;
    --font-size-2xl: 1.75rem;
    --font-size-xl: 1.25rem;
  }
  
  .about-hero, .services-hero {
    padding: 40px 0;
  }
  
  .nav-pills {
    flex-wrap: wrap;
  }
  
  .nav-pills .nav-link {
    width: 100%;
    text-align: center;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .services-content .service-details {
    border-top: none;
    padding: var(--content-padding-tablet);
  }
  
  .services-content .service-item {
    border-top: 3px solid var(--secondary-color);
    padding: var(--content-padding-tablet);
  }
  
  .services-content .service-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--section-padding-mobile);
  }
  
  .section-title {
    padding-bottom: 15px;
  }
  
  .section-title h2 {
    font-size: var(--font-size-xl);
  }
  
  .card, .value-box, .service-details, .service-item, .leader-card, .blog-card {
    margin-bottom: var(--card-margin-mobile);
    padding: var(--content-padding-mobile);
  }
  
  .card-body, .value-box-content, .service-details-content, .leader-info, .blog-content {
    padding: var(--content-padding-mobile);
  }
}

/* Contact Page Styles */
.contact-hero {
  background-color: #f8f9fa;
  padding: 60px 0;
  text-align: center;
}

.contact-hero h1 {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-hero .lead {
  color: #666;
  font-size: 1.2rem;
}

.contact .info {
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.contact .info h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.contact .info p {
  color: #666;
  margin-bottom: 1.5rem;
}

.contact .info-item {
  margin-bottom: 1.5rem;
}

.contact .info-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.contact .info-item h4 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.contact .info-item p {
  margin-bottom: 0.5rem;
  color: #666;
}

.contact .social-links {
  margin-top: 2rem;
}

.contact .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--secondary-color);
  color: #fff;
  border-radius: 50%;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.contact .social-links a:hover {
  background: #c41530;
  color: #fff;
}

.contact .php-email-form {
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.contact .php-email-form .form-group {
  margin-bottom: 1.5rem;
}

.contact .php-email-form input,
.contact .php-email-form select,
.contact .php-email-form textarea {
  border-radius: 4px;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.contact .php-email-form input:focus,
.contact .php-email-form select:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(238, 5, 242, 0.25);
}

.contact .php-email-form button[type="submit"] {
  background: var(--secondary-color);
  border: 0;
  padding: 0.75rem 2rem;
  color: #fff;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #c41530;
}

.contact-cta {
  padding: 60px 0;
  background: #333;
  color: #fff;
}

.contact-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-cta .lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.contact-cta .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.contact-cta .btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.contact-cta .btn-light {
  background: #fff;
  color: #333;
}

.contact-cta .btn-light:hover {
  background: #f8f9fa;
  color: #333;
}

.contact-cta .btn-outline-primary:hover {
  background: #fff;
  color: #333;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact .info,
  .contact .php-email-form {
    padding: 20px;
  }
  
  .contact-cta .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-cta .btn {
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem;
  }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: -76px; /* Offset the header height */
    padding-top: 0;
}

/* Main Content Sections */
.section {
    margin-top: -76px; /* Offset the header height */
    padding-top: 76px; /* Add padding to account for fixed header */
}

/* Ensure first section after header has no gap */
main > section:first-child {
    margin-top: -76px;
    padding-top: 76px;
}

/* Update Section Titles */
.section-title h2 {
  color: var(--primary-color);
}

.section-title p {
  color: var(--text-secondary);
}

/* Update Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--secondary-color);
  border-radius: 50%;
  padding: 20px;
}

.carousel-indicators button.active {
  background-color: var(--secondary-color);
}

/* Header Styles */
.header {
    background-color: var(--primary-color);
    min-height: 80px;
    position: relative;
}

.navbar {
    background-color: var(--primary-color) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

.navbar-brand {
    color: var(--text-light) !important;
    font-weight: 700;
}

/* Services Section Styles */
.services-hero {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.services-hero h1,
.services-content h2 {
  font-size: var(--title-font-size);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.services-hero p,
.services-content p {
  font-size: var(--content-font-size);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-features h3,
.service-details h3 {
  font-size: var(--title-font-size);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.service-item h4 {
  font-size: var(--title-font-size);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.service-item p {
  font-size: var(--content-font-size);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-features ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.service-features ul li {
  font-size: var(--content-font-size);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.service-features ul li i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  font-size: var(--content-font-size);
}

/* Navigation Pills */
.nav-pills .nav-link {
  font-size: var(--content-font-size);
  padding: 0.75rem 1.5rem;
  margin: 0 0.25rem;
  border-radius: 50px;
  color: var(--default-color);
  background-color: var(--surface-color);
  transition: all 0.3s ease;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.nav-pills .nav-link i {
  margin-right: 0.5rem;
  font-size: var(--content-font-size);
}

/* Service Details */
.service-details {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.service-item {
  padding: 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .nav-pills .nav-link {
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
  }
  
  .service-details {
    margin-top: 2rem;
  }
}

/* Update any red-colored elements to use the new color */
.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-primary:hover {
  background-color: #d604e6;
  border-color: #d604e6;
}

.text-danger {
  color: var(--secondary-color) !important;
}

.bg-danger {
  background-color: var(--secondary-color) !important;
}

/* Update any other elements that might be using the red color */
.nav-link:hover {
  color: var(--secondary-color) !important;
}

.nav-link::after {
  background-color: var(--secondary-color);
}

.nav-link.active {
  color: var(--secondary-color) !important;
}

.nav-link.active::after {
  background-color: var(--secondary-color);
}

.header-social-links a:hover {
  color: var(--secondary-color);
}

/* Update form validation colors */
.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: var(--secondary-color);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23F241B4'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23F241B4' stroke='none'/%3e%3c/svg%3e");
}

.was-validated .form-control:invalid:focus,
.form-control.is-invalid:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(242, 65, 180, 0.25);
}

.was-validated .form-select:invalid,
.form-select.is-invalid {
  border-color: var(--secondary-color);
}

.was-validated .form-select:invalid:not([multiple]):not([size]),
.was-validated .form-select:invalid:not([multiple])[size="1"],
.form-select.is-invalid:not([multiple]):not([size]),
.form-select.is-invalid:not([multiple])[size="1"] {
  --bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23F241B4'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23F241B4' stroke='none'/%3e%3c/svg%3e");
}

.was-validated .form-select:invalid:focus,
.form-select.is-invalid:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(242, 65, 180, 0.25);
}

.was-validated .form-check-input:invalid,
.form-check-input.is-invalid {
  border-color: var(--secondary-color);
}

.was-validated .form-check-input:invalid:checked,
.form-check-input.is-invalid:checked {
  background-color: var(--secondary-color);
}

.was-validated .form-check-input:invalid:focus,
.form-check-input.is-invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(242, 65, 180, 0.25);
}

.was-validated .form-check-input:invalid ~ .form-check-label,
.form-check-input.is-invalid ~ .form-check-label {
  color: var(--secondary-color);
}

/* Text Colors */
.text-warning {
    color: var(--secondary-color) !important;
}

/* Background Colors */
.bg-warning {
    background-color: var(--secondary-color) !important;
}

/* Form Elements */
.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(238, 5, 242, 0.25);
}

.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(238, 5, 242, 0.25);
}

.form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Alert Styles */
.alert-warning {
    color: #664d03;
    background-color: rgba(238, 5, 242, 0.1);
    border-color: rgba(238, 5, 242, 0.2);
}

/* Table Styles */
.table-warning {
    --bs-table-bg: rgba(238, 5, 242, 0.1);
    --bs-table-striped-bg: rgba(238, 5, 242, 0.15);
    --bs-table-hover-bg: rgba(238, 5, 242, 0.2);
    --bs-table-active-bg: rgba(238, 5, 242, 0.25);
}

/* Badge Styles */
.badge-warning {
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

/* Progress Bar */
.progress-bar-warning {
    background-color: var(--secondary-color);
}

/* List Group */
.list-group-item-warning {
    color: #664d03;
    background-color: rgba(238, 5, 242, 0.1);
}

/* Tooltip */
.tooltip-warning {
    --bs-tooltip-bg: var(--secondary-color);
}

/* Popover */
.popover-warning {
    --bs-popover-bg: var(--secondary-color);
    --bs-popover-border-color: var(--secondary-color);
}

/* Custom Components */
.highlight {
    background-color: rgba(238, 5, 242, 0.1);
    border-left: 4px solid var(--secondary-color);
}

.warning-icon {
    color: var(--secondary-color);
}

/* Navigation */
.nav-pills .nav-link.active {
    background-color: var(--secondary-color);
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(238, 5, 242, 0.1);
}

/* Cards */
.card-warning {
    border-color: var(--secondary-color);
}

.card-warning .card-header {
    background-color: rgba(238, 5, 242, 0.1);
    border-bottom-color: var(--secondary-color);
}

/* Custom Utility Classes */
.text-warning-soft {
    color: rgba(238, 5, 242, 0.8);
}

.bg-warning-soft {
    background-color: rgba(238, 5, 242, 0.1);
}

.border-warning-soft {
    border-color: rgba(238, 5, 242, 0.2);
} 