/* Custom Styles for EasyCorecut Website */

/* Navigation Styles */
.nav-link {
    @apply text-gray-700 dark:text-gray-300 hover:text-yellow-500 dark:hover:text-yellow-400 px-3 py-2 rounded-md text-sm font-medium transition-colors duration-200;
  }
  
  .nav-link.active {
    @apply text-yellow-500 dark:text-yellow-400;
  }
  
  /* Mobile Menu Button */
  .mobile-menu-btn {
    @apply relative p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 dark:hover:bg-gray-800 transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-yellow-500;
    width: 40px;
    height: 40px;
  }
  
  /* Hamburger Lines */
  .hamburger-line {
    @apply block w-6 h-0.5 bg-gray-600 dark:bg-gray-300 transition-all duration-300;
    margin: 4px 0;
    transform-origin: center;
  }
  
  /* Mobile Navigation Styles */
/* Mobile Navigation Styles */
.mobile-nav {
    display: none; /* Hidden by default */
    flex-direction: column;
    background-color: #1a1a1a;
    width: 100%;
    padding: 0;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

/* Show mobile nav when active */
.mobile-nav.active {
    display: flex;
    transform: translateX(0);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Show menu button only on mobile */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
}

/* Mobile Navigation Links */
.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 16px;
    min-height: 50px;
    position: relative;
}

.mobile-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #007bff;
}

.mobile-nav-link.active {
    background-color: #007bff;
    color: #ffffff;
}

.mobile-nav-link i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.mobile-nav-link span {
    flex: 1;
    font-weight: 500;
}

/* Services Section */
.mobile-services-section {
    position: relative;
}

.mobile-services-toggle {
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    justify-content: space-between;
}

.mobile-services-toggle:focus {
    outline: none;
}

.mobile-chevron {
    margin-left: auto;
    margin-right: 0;
    transition: transform 0.3s ease;
    font-size: 14px;
}

.mobile-services-toggle.open .mobile-chevron {
    transform: rotate(180deg);
}

/* Services Dropdown */
.mobile-services-dropdown {
    max-height: 0;
    overflow: hidden;
    background-color: #2a2a2a;
    transition: max-height 0.3s ease;
}

.mobile-services-dropdown.open {
    max-height: 300px;
}

.mobile-service-link {
    display: flex;
    align-items: center;
    padding: 12px 20px 12px 50px;
    color: #cccccc;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-size: 15px;
    min-height: 45px;
}

.mobile-service-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #007bff;
    padding-left: 55px;
}

.mobile-service-link:last-child {
    border-bottom: none;
}

.mobile-service-link i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
    font-size: 8px;
    color: #666;
}

.mobile-service-link span {
    font-weight: 400;
}

/* Remove last border */
.mobile-nav > a:last-child,
.mobile-services-section:last-child {
    border-bottom: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .mobile-nav-link {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .mobile-service-link {
        padding: 10px 15px 10px 40px;
        font-size: 14px;
    }
    
    .mobile-service-link:hover {
        padding-left: 45px;
    }
}

/* Animation for smooth transitions */
.mobile-nav-link,
.mobile-service-link {
    transform: translateX(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-link:active,
.mobile-service-link:active {
    transform: translateX(5px);
    background-color: rgba(0, 123, 255, 0.1);
}

/* Focus states for accessibility */
.mobile-nav-link:focus,
.mobile-service-link:focus {
    outline: 2px solid #007bff;
    outline-offset: -2px;
}

/* Loading state (optional) */
.mobile-nav.loading .mobile-nav-link {
    opacity: 0.6;
    pointer-events: none;
}
  /* Button Styles */
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, #facc15, #f59e0b); /* yellow gradient */
    color: #000;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 9999px; /* fully rounded */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .btn-primary:hover {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
  }
  
  .btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.4);
  }
  
  .btn-primary:active {
    background: #ca8a04;
    transform: translateY(1px);
  }
  
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem; /* px-6 py-3 */
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 600;
    border-radius: 9999px; /* full rounded corners */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
  }
  
  .btn-secondary:hover {
    background-color: #ffffff;
    color: #000000;
  }
  
  .btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.5); /* yellow ring */
  }
  
  .btn-secondary:active {
    background-color: #f3f3f3;
    transform: translateY(1px);
  }
  
  .btn-black {
    @apply inline-flex items-center px-6 py-3 bg-black hover:bg-gray-800 text-white font-semibold rounded-lg transition-all duration-200 shadow-lg hover:shadow-xl;
  }
  
  /* Show/Hide */
  .hidden {
    display: none;
  }
  
  /* Service Card Styles */
  .service-card {
    @apply bg-white dark:bg-gray-800 p-8 rounded-xl shadow-lg hover:shadow-xl transition-all duration-300 border border-gray-200 dark:border-gray-700;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  .service-icon {
    @apply w-16 h-16 bg-yellow-400 rounded-lg flex items-center justify-center text-black text-2xl mb-6;
  }
  
  /* Service Navigation Links */
  .service-nav-link {
    @apply inline-flex items-center px-4 py-2 bg-black text-white hover:bg-gray-800 rounded-lg font-medium transition-all duration-200;
  }
  
  /* Service Detail Cards */
  .service-detail-card {
    @apply bg-white dark:bg-gray-800 p-6 rounded-xl shadow-lg border border-gray-200 dark:border-gray-700 text-center transition-all duration-300;
  }
  
  .service-detail-card:hover {
    transform: translateY(-5px);
    @apply shadow-xl;
  }
  
  /* Testimonial Card Styles */
  .testimonial-card {
    @apply bg-white dark:bg-gray-800 p-6 rounded-xl shadow-lg border border-gray-200 dark:border-gray-700 transition-all duration-300;
  }
  
  .testimonial-card:hover {
    transform: translateY(-5px);
    @apply shadow-xl;
  }
  
  /* Counter Animation Styles */
  .counter {
    @apply text-4xl lg:text-5xl font-bold text-yellow-400 mb-2;
  }
  
  /* Animation Classes */
  .animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
  }
  
  .animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
  }
  
  .animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
  }
  
  .animate-pulse-hover:hover {
    animation: pulse 0.3s ease-in-out;
  }
  
  /* Keyframe Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes pulse {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
  }
  
  /* Process Step Connector Lines */
  .process-step {
    position: relative;
  }
  
  .process-step::after {
    content: "";
    position: absolute;
    top: 2rem;
    left: 4rem;
    width: 6rem;
    height: 2px;
    background-color: #fbbf24;
    display: none;
  }
  
  @media (min-width: 768px) {
    .process-step:not(:last-child)::after {
      display: block;
    }
  }
  
  /* Gallery Items */
  .gallery-item {
    @apply overflow-hidden rounded-lg;
  }
  
  .gallery-item img {
    @apply w-full h-full object-cover transition-transform duration-300;
  }
  
  .gallery-item:hover img {
    transform: scale(1.05);
  }
  
  /* Client Logos */
  .client-logo {
    @apply p-4 bg-white dark:bg-gray-800 rounded-lg shadow-md transition-all duration-300;
  }
  
  .client-logo:hover {
    transform: translateY(-2px);
    @apply shadow-lg;
  }
  
  /* Blog Card Styles */
  .blog-card {
    @apply bg-white dark:bg-gray-800 rounded-xl shadow-lg hover:shadow-xl transition-all duration-300 border border-gray-200 dark:border-gray-700 overflow-hidden;
  }
  
  .blog-card:hover {
    transform: translateY(-5px);
  }
  
  /* Team Card Styles */
  .team-card {
    @apply bg-white dark:bg-gray-800 p-6 rounded-xl shadow-lg border border-gray-200 dark:border-gray-700 text-center transition-all duration-300;
  }
  
  .team-card:hover {
    transform: translateY(-5px);
    @apply shadow-xl;
  }
  
  /* Enhanced responsive design for mobile, tablet, and desktop */
  /* Mobile First Responsive Design */
  @media (max-width: 480px) {
    /* Extra small mobile devices */
    .service-card {
      @apply p-4;
    }
  
    .service-icon {
      @apply w-10 h-10 text-lg mb-3;
    }
  
    .btn-primary,
    .btn-secondary,
    .btn-black {
      @apply px-4 py-2 text-sm;
    }
  
    .testimonial-card {
      @apply p-4;
    }
  
    .team-card {
      @apply p-4;
    }
  
    .blog-card {
      @apply mx-2;
    }
  
    /* Hero section adjustments */
    .hero-title {
      @apply text-2xl leading-tight;
    }
  
    .hero-subtitle {
      @apply text-base;
    }
  
    /* Statistics section */
    .counter {
      @apply text-2xl;
    }
  }
  
  @media (max-width: 768px) {
    /* Mobile and small tablet devices */
    .service-card {
      @apply p-6;
    }
  
    .service-icon {
      @apply w-12 h-12 text-xl mb-4;
    }
  
    /* Grid adjustments */
    .grid-responsive {
      @apply grid-cols-1 gap-4;
    }
  
    /* Process steps mobile layout */
    .process-step::after {
      display: none;
    }
  
    /* Form improvements */
    .form-input {
      @apply text-base py-3;
    }
  
    /* Image responsiveness */
    .responsive-image {
      @apply w-full h-auto;
    }
  }
  
  @media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet devices */
    .service-card {
      @apply p-7;
    }
  
    .service-icon {
      @apply w-14 h-14 text-xl mb-5;
    }
  
    /* Grid adjustments for tablets */
    .tablet-grid-2 {
      @apply grid-cols-2;
    }
  
    .tablet-grid-3 {
      @apply grid-cols-2;
    }
  
    /* Typography adjustments */
    .tablet-text-lg {
      @apply text-lg;
    }
  
    .tablet-text-xl {
      @apply text-xl;
    }
  }
  
  @media (min-width: 1025px) {
    /* Desktop devices */
    .desktop-grid-4 {
      @apply grid-cols-4;
    }
  
    .desktop-grid-3 {
      @apply grid-cols-3;
    }
  
    .desktop-grid-2 {
      @apply grid-cols-2;
    }
  
    /* Enhanced hover effects for desktop */
    .desktop-hover-scale:hover {
      transform: scale(1.02);
    }
  }
  
  /* Touch-friendly interactions for mobile */
  @media (hover: none) and (pointer: coarse) {
    /* Touch devices - remove hover effects and increase touch targets */
    .service-card:hover,
    .testimonial-card:hover,
    .team-card:hover,
    .blog-card:hover {
      transform: none;
    }
  
    /* Increase touch targets */
    .btn-primary,
    .btn-secondary,
    .btn-black {
      @apply min-h-12 px-6 py-3;
    }
  
    .mobile-nav-link {
      @apply min-h-12 py-3;
    }
  
    /* Remove hover animations on touch devices */
    .animate-pulse-hover:hover {
      animation: none;
    }
  }
  
  /* Improved accessibility and focus states */
  /* Focus states for keyboard navigation */
  .nav-link:focus,
  .mobile-nav-link:focus,
  .mobile-services-toggle:focus,
  .mobile-service-link:focus,
  .btn-primary:focus,
  .btn-secondary:focus,
  .btn-black:focus {
    @apply outline-none ring-2 ring-yellow-400 ring-offset-2;
  }
  
  /* High contrast mode support */
  @media (prefers-contrast: high) {
    .service-card,
    .testimonial-card,
    .team-card,
    .blog-card {
      @apply border-2 border-gray-900 dark:border-white;
    }
  
    .btn-primary {
      @apply border-2 border-black;
    }
  
    .btn-secondary {
      @apply border-2;
    }
  }
  
  /* Reduced motion support */
  @media (prefers-reduced-motion: reduce) {
    .animate-fade-in-up,
    .animate-slide-in-left,
    .animate-slide-in-right,
    .animate-pulse-hover {
      animation: none;
    }
  
    .service-card:hover,
    .testimonial-card:hover,
    .team-card:hover,
    .blog-card:hover {
      transform: none;
    }
  
    * {
      transition: none !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      scroll-behavior: auto !important;
    }
  
    .mobile-menu-overlay,
    .mobile-menu-content,
    .mobile-services-dropdown {
      transition: none !important;
    }
  }
  
  /* Container and spacing improvements */
  .container-responsive {
    @apply px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto;
  }
  
  .spacing-responsive {
    @apply py-12 sm:py-16 lg:py-20;
  }
  
  .spacing-section {
    @apply mb-8 sm:mb-12 lg:mb-16;
  }
  
  /* Responsive typography scale */
  .text-responsive-xs {
    @apply text-sm sm:text-base;
  }
  
  .text-responsive-sm {
    @apply text-base sm:text-lg;
  }
  
  .text-responsive-md {
    @apply text-lg sm:text-xl lg:text-2xl;
  }
  
  .text-responsive-lg {
    @apply text-xl sm:text-2xl lg:text-3xl;
  }
  
  .text-responsive-xl {
    @apply text-2xl sm:text-3xl lg:text-4xl;
  }
  
  .text-responsive-2xl {
    @apply text-3xl sm:text-4xl lg:text-5xl xl:text-6xl;
  }
  
  /* Smooth transitions for theme switching */
  * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  }
  
  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    @apply bg-gray-100 dark:bg-gray-800;
  }
  
  ::-webkit-scrollbar-thumb {
    @apply bg-yellow-400 rounded-full;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    @apply bg-yellow-500;
  }
  
  /* Enhanced form styling */
  .form-input {
    @apply w-full px-4 py-3 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-yellow-400 focus:border-transparent bg-white dark:bg-gray-800 text-gray-900 dark:text-white transition-all duration-200;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  
  .form-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
  }
  
  .form-textarea {
    @apply form-input resize-vertical min-h-32;
  }
  
  .form-select {
    @apply form-input;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
  }
  
  /* Loading states */
  .loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  /* Error states */
  .error-state {
    @apply border-red-500 bg-red-50 dark:bg-red-900/20;
    animation: shake 0.5s ease-in-out;
  }
  
  @keyframes shake {
    0%,
    100% {
      transform: translateX(0);
    }
    25% {
      transform: translateX(-5px);
    }
    75% {
      transform: translateX(5px);
    }
  }
  
  /* Success states */
  .success-state {
    @apply border-green-500 bg-green-50 dark:bg-green-900/20;
  }
  
  /* Print styles */
  @media print {
    .no-print {
      display: none !important;
    }
  
    .print-break {
      page-break-after: always;
    }
  
    body {
      background: white !important;
      color: black !important;
    }
  
    .service-card,
    .testimonial-card,
    .team-card,
    .blog-card {
      box-shadow: none !important;
      border: 1px solid #ccc !important;
    }
  }
  
  /* Enhanced selection styling */
  ::selection {
    background-color: rgba(251, 191, 36, 0.3);
    color: inherit;
  }
  
  ::-moz-selection {
    background-color: rgba(251, 191, 36, 0.3);
    color: inherit;
  }
  
  /* Enhanced text rendering */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
  
  /* Scroll Behavior */
  html {
    scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
  }
  
  /* Enhanced color scheme support */
  @media (prefers-color-scheme: dark) {
    :root {
      color-scheme: dark;
    }
  }
  
  @media (prefers-color-scheme: light) {
    :root {
      color-scheme: light;
    }
  }
  
  /* Final responsive typography */
  .responsive-heading {
    @apply text-2xl sm:text-3xl lg:text-4xl xl:text-5xl font-bold leading-tight;
  }
  
  .responsive-subheading {
    @apply text-lg sm:text-xl lg:text-2xl text-gray-600 dark:text-gray-300;
  }
  
  .responsive-body {
    @apply text-base sm:text-lg leading-relaxed;
  }
  
  /* Enhanced navbar scroll effect */
  .navbar-scrolled {
    @apply bg-white/90 dark:bg-gray-900/90 backdrop-blur-md;
  }