/* Global CSS - Consolidated from all sources */

/* =============================================
   CORE LAYOUT AND BASE STYLES
   ============================================= */

/* Core layout and base styles */
html {
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.hidden-scroll {
  overflow: hidden;
}

main {
  flex: 1 0 auto;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

/* =============================================
   HEADER AND NAVIGATION
   ============================================= */

/* Header Section */
.header {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.header h5 {
  font-size: 1.4rem;
  color: #333;
}

h5 {
  color: #444;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 400;
}

header {
  padding-left: 1rem;
  padding-right: 1rem;
}

nav {
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: relative;
  margin-top: 40px;
  margin-bottom: 1rem;
}

nav div {
  display: flex;
  gap: 24px !important;
}

nav a {
  color: #1b3952;
  font-family: Raleway, sans-serif;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: color 0.3s ease, border 0.3s ease;
}

nav a i {
  font-size: 1.2rem;
  color: inherit;
}

nav a:hover {
  color: #1b3952;
  border: 1px solid #EA9A30;
}

/* =============================================
   MAIN CONTENT
   ============================================= */

/* Content intro and typography styles */
.content-intro {
  padding-left: 1rem;
  padding-right: 1rem;
}

.content-intro p {
  font-size: 108%;
  line-height: 1.9rem;
  color: #333;
}

.first-letter {
  font-size: 19px;
}

/* Content Section */
.content-body .cs-1 {
  font-size: 130%;
}

.content-body p {
  font-size: 108%;
  line-height: 1.9rem;
}

/* =============================================
   SERVICES GRID
   ============================================= */

/* Service cards layout and styling */
.service-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  padding: 1rem;
  margin-top: 30px;
}

.service-card {
  padding: 1rem;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.service-title {
  position: relative;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  width: 100%;

  /* Text gradient animation properties */
  background: linear-gradient(90deg,
      #222,
      #1B3952);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #1B3952;
  /* Fallback color */
  animation: moveGradient 8s ease infinite;
}

/* Underline gradient effect */
.service-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to left,
      #1B3952,
      #45B7D1,
      #fab85b);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.service-description {
  color: #333;
  line-height: 1.7 !important;
  margin-top: 0.75rem;
  font-size: 16px !important;
}

/* =============================================
   CERTIFICATION SECTION
   ============================================= */

/* Horizontal divider line for certification section */
.certification-divider {
  width: 100vw;
  height: 1px;
  background-color: #dee2e6;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 45px;
  margin-bottom: 25px;
}

.certification-divider-bottom {
  margin-top: 45px;
  margin-bottom: 0;
}

/* Desktop margin for certification card */
@media (min-width: 768px) {
  .certification .card {
    margin-top: 50px !important;
  }
}

/* =============================================
   FORM AND CONTACT STYLES
   ============================================= */

/* Contact Form Specific Styles */
.contact-section {
  padding: 2rem 1rem 4rem 1rem;
  min-height: 70vh;
}

.contact-header {
  margin-bottom: 3rem;
}

.contact-main-title {
  font-size: 2.5rem;
  color: #1B3952;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-family: 'Raleway', sans-serif;
}

.title-divider {
  width: 10%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent,
    #1B3952 20%,
    #45B7D1 40%,
    #EA9A30 60%,
    #fab85b 80%,
    transparent
  );
  background-size: 300% 100%;
  animation: gradientSlide 2.6s ease-in-out infinite;
  margin: 1rem auto;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.contact-subtitle {
  font-size: 1.8rem;
  color: #1B3952;
  font-weight: 400;
  margin-bottom: 0.5rem;
  font-family: 'Raleway', sans-serif;
}

.contact-tagline {
  font-size: 1.1rem;
  color: #666;
  font-style: italic;
  margin-bottom: 0;
}

.contact-form-section {
  background: white;
  border-radius: 8px;
  padding: 2.5rem;
  border: 1px solid #ccc;
}

/* Force -40px margin for all screen sizes */
.contact-section .contact-form-section {
  margin-top: -50px !important;
}

.form-title {
  font-size: 1.6rem;
  color: #1B3952;
  font-weight: 500;
  font-family: 'Raleway', sans-serif;
}

.form-label {
  color: #1B3952;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-input,
.contact-textarea {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fafafa;
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: #EA9A30;
  box-shadow: 0 0 0 0.2rem rgba(234, 154, 48, 0.25);
  background-color: white;
  outline: none;
}

.contact-textarea {
  resize: vertical;
  min-height: 168px;
}

/* Override Bootstrap btn-outline-dark hover for contact form */
.contact-form-section .btn-outline-dark:hover {
  background-color: #1B3952;
  border-color: #1B3952;
  color: white;
}

.contact-form-section .btn-outline-dark:hover .submit-text,
.contact-form-section .btn-outline-dark:hover .submit-icon {
  color: white !important;
}

/* Error message styles */
.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.form-control.is-invalid + .error-message {
  display: block;
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.form-control.is-valid {
  border-color: #28a745;
}

/* Turnstile container styling */
.turnstile-container {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

/* Return to Profile Link Hover */
.return-link:hover {
  color: #EA9A30 !important;
}

.mobile-return-link {
  display: block;
  text-align: left;
  margin-bottom: 1rem;
}

/* Responsive adjustments for contact forms */
@media (max-width: 768px) {
  .contact-section {
    padding: 1rem 0.5rem 3rem 0.5rem;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .contact-main-title {
    font-size: 2rem;
  }
  
  .contact-subtitle {
    font-size: 1.4rem;
  }
  
  /* Mobile specific margin override */
  .contact-section .contact-form-section {
    padding: 1rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-top: -40px !important;
  }
  
  .form-title {
    font-size: 1.4rem;
  }
  
  .contact-submit-btn {
    width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
  }
  
  .floating-shapes { 
    display: none; 
  }
  
  .title-divider {
    height: 3px !important;
  }

  .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  
  .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .mobile-return-link {
    display: block !important;
    text-align: left !important;
  }
}

@media (max-width: 576px) {
  .contact-main-title {
    font-size: 1.8rem;
  }
  
  .contact-subtitle {
    font-size: 1.2rem;
  }
  
  .contact-form-section {
    padding: 1rem;
  }
}

/* Tablet and Desktop adjustments */
@media (min-width: 769px) {
  .contact-form-section {
    margin-top: -50px !important;
    border: 1px solid #eee !important;
  }
}

/* Tablet responsive adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* =============================================
   FOOTER
   ============================================= */

/* Footer layout and content styling */
.footer {
  flex-shrink: 0;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  width: 100%;
  padding: 1rem 0;
  margin-top: 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-text {
  color: #555;
  font-size: 0.9rem;
}

/* =============================================
   VECTOR DESIGN ELEMENTS
   ============================================= */

/* SVG icon vector effects */
a.vc-el-photo svg {
  width: 32px;
  height: 32px;
  transition: all 0.4s;
  /* Actual SVG */
  fill: #fff;
  stroke: #1B3952;
  stroke-miterlimit: 20;
  stroke-width: 2px;
}

/* Before SVG icon vector design element */
.vc-el-design {
  margin-top: 2.4rem;
  margin-left: 4rem;
  margin-right: 1rem;
}

.vc-el-email {
  margin-right: 9px;
  margin-bottom: 1.2px;
}

.vc-el-photo {
  float: right;
  margin-top: -66px;
}

/* Header design background */
.header-design {
  background-color: #0088cc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='368' height='306.7' viewBox='0 0 1080 900'%3E%3Cg fill-opacity='.1'%3E%3Cpolygon fill='%23444' points='90 150 0 300 180 300'/%3E%3Cpolygon points='90 150 180 0 0 0'/%3E%3Cpolygon fill='%23AAA' points='270 150 360 0 180 0'/%3E%3Cpolygon fill='%23DDD' points='450 150 360 300 540 300'/%3E%3Cpolygon fill='%23999' points='450 150 540 0 360 0'/%3E%3Cpolygon points='630 150 540 300 720 300'/%3E%3Cpolygon fill='%23DDD' points='630 150 720 0 540 0'/%3E%3Cpolygon fill='%23444' points='810 150 720 300 900 300'/%3E%3Cpolygon fill='%23FFF' points='810 150 900 0 720 0'/%3E%3Cpolygon fill='%23DDD' points='990 150 900 300 1080 300'/%3E%3Cpolygon fill='%23444' points='990 150 1080 0 900 0'/%3E%3Cpolygon fill='%23DDD' points='90 450 0 600 180 600'/%3E%3Cpolygon points='90 450 180 300 0 300'/%3E%3Cpolygon fill='%23666' points='270 450 180 600 360 600'/%3E%3Cpolygon fill='%23AAA' points='270 450 360 300 180 300'/%3E%3Cpolygon fill='%23DDD' points='450 450 360 600 540 600'/%3E%3Cpolygon fill='%23999' points='450 450 540 300 360 300'/%3E%3Cpolygon fill='%23999' points='630 450 540 600 720 600'/%3E%3Cpolygon fill='%23FFF' points='630 450 720 300 540 300'/%3E%3Cpolygon points='810 450 720 600 900 600'/%3E%3Cpolygon fill='%23DDD' points='810 450 900 300 720 300'/%3E%3Cpolygon fill='%23AAA' points='990 450 900 600 1080 600'/%3E%3Cpolygon fill='%23444' points='990 450 1080 300 900 300'/%3E%3Cpolygon fill='%23222' points='90 750 0 900 180 900'/%3E%3Cpolygon points='270 750 180 900 360 900'/%3E%3Cpolygon fill='%23DDD' points='270 750 360 600 180 600'/%3E%3Cpolygon points='450 750 540 600 360 600'/%3E%3Cpolygon points='630 750 540 900 720 900'/%3E%3Cpolygon fill='%23444' points='630 750 720 600 540 600'/%3E%3Cpolygon fill='%23AAA' points='810 750 720 900 900 900'/%3E%3Cpolygon fill='%23666' points='810 750 900 600 720 600'/%3E%3Cpolygon fill='%23999' points='990 750 900 900 1080 900'/%3E%3Cpolygon fill='%23999' points='180 0 90 150 270 150'/%3E%3Cpolygon fill='%23444' points='360 0 270 150 450 150'/%3E%3Cpolygon fill='%23FFF' points='540 0 450 150 630 150'/%3E%3Cpolygon points='900 0 810 150 990 150'/%3E%3Cpolygon fill='%23222' points='0 300 -90 450 90 450'/%3E%3Cpolygon fill='%23FFF' points='0 300 90 150 -90 150'/%3E%3Cpolygon fill='%23FFF' points='180 300 90 450 270 450'/%3E%3Cpolygon fill='%23666' points='180 300 270 150 90 150'/%3E%3Cpolygon fill='%23222' points='360 300 270 450 450 450'/%3E%3Cpolygon fill='%23FFF' points='360 300 450 150 270 150'/%3E%3Cpolygon fill='%23444' points='540 300 450 450 630 450'/%3E%3Cpolygon fill='%23222' points='540 300 630 150 450 150'/%3E%3Cpolygon fill='%23AAA' points='720 300 630 450 810 450'/%3E%3Cpolygon fill='%23666' points='720 300 810 150 630 150'/%3E%3Cpolygon fill='%23FFF' points='900 300 810 450 990 450'/%3E%3Cpolygon fill='%23999' points='900 300 990 150 810 150'/%3E%3Cpolygon points='0 600 -90 750 90 750'/%3E%3Cpolygon fill='%23666' points='0 600 90 450 -90 450'/%3E%3Cpolygon fill='%23AAA' points='180 600 90 750 270 750'/%3E%3Cpolygon fill='%23444' points='180 600 270 450 90 450'/%3E%3Cpolygon fill='%23444' points='360 600 270 750 450 750'/%3E%3Cpolygon fill='%23999' points='360 600 450 450 270 450'/%3E%3Cpolygon fill='%23666' points='540 600 630 450 450 450'/%3E%3Cpolygon fill='%23222' points='720 600 630 750 810 750'/%3E%3Cpolygon fill='%23FFF' points='900 600 810 750 990 750'/%3E%3Cpolygon fill='%23222' points='900 600 990 450 810 450'/%3E%3Cpolygon fill='%23DDD' points='0 900 90 750 -90 750'/%3E%3Cpolygon fill='%23444' points='180 900 270 750 90 750'/%3E%3Cpolygon fill='%23FFF' points='360 900 450 750 270 750'/%3E%3Cpolygon fill='%23AAA' points='540 900 630 750 450 750'/%3E%3Cpolygon fill='%23FFF' points='720 900 810 750 630 750'/%3E%3Cpolygon fill='%23222' points='900 900 990 750 810 750'/%3E%3Cpolygon fill='%23222' points='1080 300 990 450 1170 450'/%3E%3Cpolygon fill='%23FFF' points='1080 300 1170 150 990 150'/%3E%3Cpolygon points='1080 600 990 750 1170 750'/%3E%3Cpolygon fill='%23666' points='1080 600 1170 450 990 450'/%3E%3Cpolygon fill='%23DDD' points='1080 900 1170 750 990 750'/%3E%3C/g%3E%3C/svg%3E");
  margin-bottom: 0px;
  height: 16px;
}

/* =============================================
   UTILITIES
   ============================================= */

/* Header Dividers */
.divider-1 {
  display: block;
  border-bottom: 1px solid #007ab7;
  height: 1px;
  margin-top: 7px;
  margin-bottom: 21px;
}

.divider-2 {
  display: block;
  padding-bottom: 4px;
  background: linear-gradient(90deg, rgba(202, 208, 212, 1) 0%, rgba(222, 227, 230, 1) 100%);
  background-size: 100% 1px;
  background-position: bottom 0 left 0, bottom 5px left 0;
  background-repeat: no-repeat;
  margin-bottom: 21px;
}

.divider-3 {
  padding-bottom: 4px;
  border-bottom: 1px dotted #7dbfc9;
}

.contact-font {
  font-size: 110%;
  font-family: 'Lato', sans-serif;
}

.email-font-size {
  font-size: 95%;
}

/* Class-specific styles */
.cp-1 {
  padding-top: 9px;
}

.cp-2 {
  font-size: 1.6rem !important;
  line-height: 2.5rem !important;
  font-weight: 300;
  padding-right: 0px;
}

/* Make cp-2 match cp-1 styling on tablet and mobile */
@media (max-width: 991px) {
  .cp-2 {
    font-size: 108% !important;
    line-height: 1.9rem !important;
    font-weight: normal;
  }
}

.cp-3 {
  font-size: 100% !important;
  line-height: 1.6rem !important;
}

/* =============================================
   ANIMATIONS
   ============================================= */

@keyframes moveGradient {
  0% {
    background-position: 100% 50%;
  }

  50% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@keyframes shimmer {
  from {
    background-position: 200% center;
  }

  to {
    background-position: 0% center;
  }
}

@keyframes gradientSlide {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) translateX(0px); 
    opacity: 0.3; 
  }
  25% { 
    transform: translateY(-15px) translateX(10px); 
    opacity: 0.8; 
  }
  50% { 
    transform: translateY(5px) translateX(-5px); 
    opacity: 1; 
  }
  75% { 
    transform: translateY(-10px) translateX(15px); 
    opacity: 0.6; 
  }
}

@-webkit-keyframes pulsate {
  0% {
    transform: scale(0.1);
    opacity: 0.0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@keyframes pulsate {
  0% {
    transform: scale(0.1);
    opacity: 0.0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@-moz-keyframes pulsate {
  0% {
    transform: scale(0.1);
    opacity: 0.0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@-o-keyframes pulsate {
  0% {
    transform: scale(0.1);
    opacity: 0.0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@-ms-keyframes pulsate {
  0% {
    transform: scale(0.1);
    opacity: 0.0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */

/* [0-767px] Mobile - Single column, stacked layout */
@media (max-width: 767px) {
  nav div {
    justify-content: center;
    width: 100%;
  }

  nav {
    display: flex;
    justify-content: center;
  }

  nav::after {
    content: '';
    display: block;
    width: 100vw;
    height: 2px;
    background-color: #dee2e6;
    position: absolute;
    bottom: 0rem;
    left: 50%;
    transform: translateX(-50%);
  }

  header {
    overflow-x: hidden;
    position: relative;
  }

  .certification {
    margin-bottom: 1rem;
  }
  
  /* Certification section mobile-only margins */
  .certification .card {
    margin-top: 60px !important;
  }
  
  .certification-divider-bottom {
    margin-top: 60px !important;
  }
  
  /* Increase intro text size by 7% on mobile only */
  .content-intro p {
    font-size: 115.56% !important; /* 108% × 1.07 = 115.56% */
  }
  
  /* Set certification badge size on mobile */
  .certification img {
    max-width: 130px !important;
  }
}

/* Mobile Contact Form Adjustments */
@media (max-width: 768px) {
  .contact-section {
    padding: 1rem 0.5rem 3rem 0.5rem;
  }
  
  .contact-main-title {
    font-size: 2rem;
  }
  
  .contact-subtitle {
    font-size: 1.4rem;
  }
  
  .contact-form-section {
    padding: 1rem;
    margin: 0;
  }
  
  .form-title {
    font-size: 1.4rem;
  }
  
  .contact-submit-btn {
    width: 100%;
    margin-top: 1rem;
  }
  
  .floating-shapes { 
    display: none; 
  }
  
  .contact-submit-btn { 
    width: 100% !important; 
    margin-top: 0 !important;
    margin-bottom: 15px !important;
  }
  
  .title-divider {
    height: 3px !important;
  }

  .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  
  .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .contact-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 576px) {
  .contact-main-title {
    font-size: 1.8rem;
  }
  
  .contact-subtitle {
    font-size: 1.2rem;
  }
  
  .contact-form-section {
    padding: 1rem;
  }
}

/* [768px-991px] Tablet - 2 column services grid */
@media (min-width: 768px) and (max-width: 991px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Certification title underline for tablet and desktop */
@media (min-width: 768px) {
  .certification .card-title {
    border-bottom: 1px solid #bbb;
    padding-bottom: 0.4rem;
    display: inline-block;
  }
  
  /* Set badge size to 130px for tablet and above */
  .certification img {
    max-width: 130px !important;
  }
}

/* [768px-991px] Tablet - Navigation and header styles */
@media (min-width: 768px) and (max-width: 1200px) {
  nav div {
    justify-content: center;
    width: 100%;
    gap: 2rem !important;
  }

  nav {
    display: flex;
    justify-content: center;
    position: relative;
  }

  nav::after {
    content: '';
    display: block;
    width: 100vw;
    height: 2px;
    background-color: #dee2e6;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  header {
    overflow-x: hidden;
    position: relative;
  }
}

/* Tablet and Desktop contact adjustments */
@media (min-width: 769px) {
  .contact-form-section {
    margin-top: -20px !important;
    border: 1px solid #eee !important;
  }
}

/* Tablet responsive adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* [992px+] Desktop - 3 column services grid */
@media (min-width: 992px) {
  .container-fluid {
    width: 92%;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .certification {
    margin-left: 30px;
    margin-bottom: 70px !important;
  }

  .content-intro {
    margin-left: 9px;
  }
  
  .cs-1 {
    font-size: 119% !important;
  }
  
  .cp-3 {
    font-size: 100% !important;
    line-height: 1.6rem !important;
  }
}

/* Header styles for responsive layout */
@media (max-width: 1199px) {
  body {
    overflow-x: hidden;
  }

  header {
    padding-left: 0;
    padding-right: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }

  nav {
    width: 100%;
    margin-top: 0 !important;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  nav div {
    justify-content: center;
    width: 100%;
  }
  
  /* Center user icon on tablet and mobile only */
  .vc-el-photo {
    float: none !important;
    display: inline-block !important;
    margin-top: 0 !important;
    padding: 0.2rem 0.5rem;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: border 0.3s ease;
  }
  
  .vc-el-photo:hover {
    border: 1px solid #EA9A30;
  }
  
  /* Increase icon size by 30% for tablet and mobile */
  .vc-el-photo svg {
    width: 41.6px !important; /* 32px * 1.3 = 41.6px */
    height: 41.6px !important;
    stroke: #3B5998 !important; /* Change color to lighter navy blue for tablet and mobile */
  }
}

/* [992px-1199px] Desktop - Apply desktop styles */
@media (min-width: 992px) and (max-width: 1199px) {
  header {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  nav div {
    gap: 24px;
  }
  
  .certification-content {
    max-width: 44%;
  }
}

/* [1200px+] Desktop XL - Maintain existing styles for xl breakpoint and above */
@media (min-width: 1200px) {
  .container-fluid {
    width: 92%;
  }
  
  .header {
    margin-left:-1.5px;
  }
  
  header {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  nav div {
    gap: 24px;
  }
  
  .certification-content {
    max-width: 44%;
  }
  
  .cp-1 {
    padding-top: 9px;
  }
  
  .cp-2 {
    font-size: 1.6rem !important;
    line-height: 2.5rem !important;
    font-weight: 300;
    padding-right: 0px;
  }

  .row .col-xl-9 {
    flex: 0 0 auto;
    width: 85% !important;
  }

  .d-flex .col-xl-9 {
    width: 80%;
    padding-right: 75px;
  }

  .vc-el-photo {
    float: right;
    margin-top: -66px;
  }
  
  .email-font-size {
    font-size: 95%;
  }
  
  .contact-font {
    font-size: 100%;
    font-family: 'Lato', sans-serif;
  }
}