/* Contact Icons Styles */
.contact-icon {
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 2rem;
    border-radius: 15px;
  }
  
  .contact-icon i {
    color: white;
  }
  
  /* Additional styles for better contact section */
  .blog-box .blog-img {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .blog-box .blog-cap {
    padding: 1.5rem;
  }
  
  .blog-box .blog-cap h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.75rem;
  }
  
  .blog-box .blog-cap p {
    color: #666;
    line-height: 1.6;
  }
  
  /* Equal height columns */
  .row {
    display: flex;
    flex-wrap: wrap;
  }
  
  .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
  }
  
  /* Service boxes equal height */
  .service-box {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .service-box .service-cap {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .service-box .service-link {
    margin-top: auto;
  }
  
  /* Idea boxes equal height */
  .idea-box {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .idea-box .idea-img {
    flex-shrink: 0;
  }
  
  .idea-box .idea-cap {
    flex: 1;
    margin-top: auto;
  }
  
  /* Team boxes equal height */
  .team-box {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .team-box .team-img-box {
    flex-shrink: 0;
  }
  
  .team-box .team-cap {
    flex: 1;
    margin-top: auto;
  }
  
  /* Blog boxes equal height */
  .blog-box {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .blog-box .blog-img {
    flex-shrink: 0;
  }
  
  .blog-box .blog-cap {
    flex: 1;
    margin-top: auto;
  }
  
  /* Strategy boxes equal height */
  .strategy-box {
    margin-bottom: 1rem;
  }
  
  /* Widget boxes equal height */
  .widget-box {
    height: 100%;
  }
  
  /* Reviews section styles */
  .team-box {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
  }
  
  .team-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  }
  
  .team-box .stars {
    font-size: 1.2rem;
  }
  
  .team-box h5 a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
  }
  
  .team-box h5 a:hover {
    color: #667eea;
  }
  
  .team-box span {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .team-box p {
    color: #555;
    font-style: italic;
    line-height: 1.6;
  }
  
  .client-logo-box {
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .client-logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
  
  .client-logo {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
  }
  
  .client-logo-box:hover .client-logo {
    filter: grayscale(0%);
  }
  
  /* Form styles */
  .form-control.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    /* background-color: #fff5f5 !important; */
    color: #721c24 !important;
  }
  
  .form-control.is-invalid:hover,
  .form-control.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    /* background-color: #fff5f5 !important; */
    color: #ffffff !important;
  }
  
  .form-control.is-invalid::placeholder {
    color: #dc3545 !important;
    opacity: 0.8;
  }
  
  /* Valid field styles */
  .form-control.is-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
    /* background-color: #f8fff8 !important; */
  }
  
  .form-control.is-valid:hover,
  .form-control.is-valid:focus {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
    background-color: #f8fff8 !important;
  }
  
  /* Default field styles */
  .form-control {
    transition: all 0.3s ease;
  }
  
  .form-control:hover {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  }
  
  .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background-color: #fff;
  }
  
  /* Success and error messages */
  .success-message, .error-message {
    margin-top: 20px;
    animation: slideIn 0.3s ease-out;
  }
  
  .alert {
    border-radius: 15px;
    border: none;
    padding: 20px;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
  }
  
  .alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
  }
  
  .alert i {
    font-size: 1.2rem;
  }
  
  /* Button loading state */
  #submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
  }
  
  #submitBtn .fa-spinner {
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .contact-icon {
      height: 60px;
      font-size: 1.5rem;
    }
    
    .blog-box .blog-cap {
      padding: 1rem;
    }
    
    .client-logo-box {
      height: 100px;
      padding: 15px;
    }
    
    .client-logo {
      max-height: 50px;
    }
    
    .alert {
      padding: 15px;
      font-size: 0.9rem;
    }
    
    /* Reset flex for mobile */
    .row > [class*="col-"] {
      flex-direction: column;
    }
  }

  /* Gallery Modal Styles */
  .gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
  }

  .gallery-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gallery-modal-content {
    width: 95%;
    max-width: 1200px;
    height: 90%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
  }

  .gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-image: var(--primary-gradient);
    color: white;
  }

  .gallery-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
  }

  .gallery-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .gallery-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
  }

  .gallery-thumbnails-section {
    padding: 20px 30px;
    background: white;
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
  }

  .gallery-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #f8f9fa;
    min-height: 0;
  }

  .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-image: var(--primary-gradient);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.9;
  }

  .gallery-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
  }

  .gallery-prev {
    left: 20px;
  }

  .gallery-next {
    right: 20px;
  }

  .gallery-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
  }

  .gallery-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .gallery-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 2rem;
  }

  .gallery-counter {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
  }

  .gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    max-height: 70px;
    overflow-y: auto;
  }

  .gallery-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    cursor: pointer;
    object-fit: cover;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
  }

  .gallery-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
  }

  .gallery-thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
  }

  /* Gallery trigger hover effect */
  .gallery-trigger {
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .gallery-trigger:hover {
    transform: scale(1.02);
  }

  .gallery-trigger:hover img {
    filter: brightness(1.1);
  }

  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(50px) scale(0.9);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  /* Responsive Gallery */
  @media (max-width: 768px) {
    .gallery-modal-content {
      width: 98%;
      height: 95%;
      border-radius: 15px;
    }

    .gallery-header {
      padding: 15px 20px;
    }

    .gallery-title {
      font-size: 1.2rem;
    }

    .gallery-close {
      font-size: 1.5rem;
      width: 35px;
      height: 35px;
    }

    .gallery-thumbnails-section {
      padding: 15px 20px;
    }

    .gallery-nav {
      width: 50px;
      height: 50px;
      font-size: 1.2rem;
    }

    .gallery-prev {
      left: 10px;
    }

    .gallery-next {
      right: 10px;
    }

    .gallery-image-container {
      padding: 20px;
    }

    .gallery-thumbnail {
      width: 40px;
      height: 40px;
    }

    .gallery-counter {
      font-size: 1rem;
    }

    .gallery-thumbnails {
      max-height: 60px;
    }
  }

  @media (max-width: 480px) {
    .gallery-nav {
      width: 45px;
      height: 45px;
      font-size: 1rem;
    }

    .gallery-prev {
      left: 5px;
    }

    .gallery-next {
      right: 5px;
    }

    .gallery-image-container {
      padding: 15px;
    }

    .gallery-thumbnail {
      width: 35px;
      height: 35px;
    }

    .gallery-thumbnails-section {
      padding: 10px 15px;
    }
  }
  