/* ==============================================
   UnikaBiz Template - Responsive CSS
   AI-Powered Digital Agency Template
   ============================================== */

/* ==============================================
   Large Desktop (1440px and up)
   ============================================== */

@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .section-title-text {
    font-size: 3.25rem;
  }

  .hero-desc {
    font-size: 22px;
  }

  .floating-card {
    min-width: 180px;
    padding: 24px;
  }

  .floating-card i {
    font-size: 36px;
  }

  .floating-card strong {
    font-size: 20px;
  }
}

/* ==============================================
   Desktop (1200px to 1439px)
   ============================================== */

@media (max-width: 1439px) and (min-width: 1200px) {
  .hero-title {
    font-size: 3.25rem;
  }

  .section-title-text {
    font-size: 2.5rem;
  }

  .floating-card-1 {
    right: -5%;
  }

  .floating-card-2 {
    left: -10%;
  }

  .floating-card-3 {
    right: 0%;
  }
}

/* ==============================================
   Tablet Landscape (992px to 1199px)
   ============================================== */

@media (max-width: 1199px) and (min-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title-text {
    font-size: 2.25rem;
  }

  .hero-desc {
    font-size: 18px;
  }

  .hero-trust-indicators {
    gap: 30px;
  }

  .trust-number {
    font-size: 2rem;
  }

  .floating-card {
    min-width: 140px;
    padding: 16px;
  }

  .floating-card i {
    font-size: 28px;
  }

  .floating-card strong {
    font-size: 16px;
  }

  .service-card {
    padding: 30px;
  }

  .testimonial-metrics {
    gap: 20px;
  }

  .cta-title {
    font-size: 2.25rem;
  }
}

/* ==============================================
   Tablet Portrait (768px to 991px)
   ============================================== */

@media (max-width: 991px) {
  /* Header Adjustments */
  .main-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-btn .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Hero Section */
  .hero-area {
    padding: 120px 0 80px;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .hero-desc {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .hero-trust-indicators {
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
  }

  .trust-number {
    font-size: 1.75rem;
  }

  .hero-buttons {
    justify-content: center;
    margin-bottom: 50px;
  }

  .hero-image {
    margin-top: 40px;
  }

  .floating-card {
    display: none; /* Hide floating elements on tablet */
  }

  /* Section Spacing */
  .pt-120 {
    padding-top: 80px !important;
  }

  .pb-120 {
    padding-bottom: 80px !important;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title-text {
    font-size: 2rem;
  }

  .section-desc {
    font-size: 16px;
  }

  /* Services Section */
  .service-card {
    padding: 25px;
    margin-bottom: 30px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
  }

  .service-icon i {
    font-size: 28px;
  }

  .pricing-preview {
    margin: 20px 0;
  }

  /* Industries Section */
  .industry-card {
    padding: 25px;
    margin-bottom: 30px;
  }

  .industry-card-featured .row {
    text-align: center;
  }

  .industry-solutions-inline {
    justify-content: center;
    gap: 15px;
  }

  .industry-solutions-inline li {
    flex-basis: calc(50% - 8px);
    white-space: normal;
  }

  /* Results Section */
  .counter-card {
    margin-bottom: 30px;
  }

  .counter-number {
    font-size: 2.5rem;
  }

  .counter-suffix {
    font-size: 1.75rem;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 30px;
  }

  .testimonial-text {
    font-size: 16px;
  }

  .testimonial-metrics {
    justify-content: center;
    gap: 20px;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  /* Content Preview */
  .content-card {
    margin-bottom: 30px;
  }

  /* CTA Section */
  .cta-area {
    text-align: center;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-desc {
    font-size: 16px;
  }

  .cta-buttons {
    align-items: center;
    margin-top: 30px;
  }

  /* Footer */
  .footer-widget {
    text-align: center;
    margin-bottom: 40px;
  }

  .footer-social {
    justify-content: center;
  }

  .newsletter-form {
    margin: 20px auto 0;
  }
}

/* ==============================================
   Mobile Landscape (576px to 767px)
   ============================================== */

@media (max-width: 767px) {
  /* Header */
  .header-area .row {
    min-height: 70px;
  }

  .logo img {
    max-height: 35px;
  }

  .header-btn .btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* Hero Section */
  .hero-area {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero-desc {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .hero-trust-indicators {
    gap: 20px;
    margin-bottom: 25px;
  }

  .trust-item {
    flex: 1;
  }

  .trust-number {
    font-size: 1.5rem;
  }

  .trust-label {
    font-size: 12px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  h5 { font-size: 1.125rem; }
  h6 { font-size: 1rem; }

  .section-title-text {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .section-desc {
    font-size: 15px;
  }

  /* Section Spacing */
  .pt-120 {
    padding-top: 60px !important;
  }

  .pb-120 {
    padding-bottom: 60px !important;
  }

  .pt-80 {
    padding-top: 50px !important;
  }

  .pb-80 {
    padding-bottom: 50px !important;
  }

  .mb-60 {
    margin-bottom: 40px !important;
  }

  /* Services Section */
  .service-card {
    padding: 20px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .service-icon i {
    font-size: 24px;
  }

  .service-title {
    font-size: 1.25rem;
  }

  .service-features li {
    font-size: 14px;
  }

  .pricing-preview .price-item {
    padding: 6px 0;
  }

  /* Industries Section */
  .industry-card {
    padding: 20px;
  }

  .industry-icon {
    width: 50px;
    height: 50px;
  }

  .industry-icon i {
    font-size: 20px;
  }

  .industry-title {
    font-size: 1.125rem;
  }

  .industry-solutions li {
    font-size: 13px;
  }

  .industry-card-featured {
    text-align: center;
  }

  .industry-icon-large {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
  }

  .industry-solutions-inline {
    flex-direction: column;
    gap: 10px;
  }

  .industry-solutions-inline li {
    text-align: center;
  }

  /* Results Section */
  .counter-number {
    font-size: 2rem;
  }

  .counter-suffix {
    font-size: 1.5rem;
  }

  .counter-label {
    font-size: 14px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 25px;
    margin: 0 10px;
  }

  .testimonial-text {
    font-size: 15px;
  }

  .testimonial-metrics {
    flex-direction: column;
    gap: 15px;
  }

  .metric-value {
    font-size: 1.25rem;
  }

  .metric-label {
    font-size: 11px;
  }

  /* Content Preview */
  .content-card {
    padding: 20px;
  }

  .content-title {
    font-size: 1.125rem;
  }

  .content-link h5 {
    font-size: 15px;
  }

  /* CTA Section */
  .cta-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .cta-desc {
    font-size: 15px;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Footer */
  .footer-top {
    padding-top: 50px;
    padding-bottom: 30px;
  }

  .footer-widget-title {
    font-size: 1rem;
  }

  .footer-links li a {
    font-size: 14px;
  }

  .footer-bottom {
    padding: 15px 0;
  }

  .footer-copyright {
    text-align: center;
    margin-bottom: 20px;
  }

  .newsletter-form {
    max-width: 100%;
  }

  .newsletter-form input {
    font-size: 13px;
    padding: 10px 14px;
  }

  .newsletter-form button {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* ==============================================
   Mobile Portrait (320px to 575px)
   ============================================== */

@media (max-width: 575px) {
  /* Container */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Header */
  .header-area .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .header-area .row {
    min-height: 65px;
  }

  .logo img {
    max-height: 30px;
  }

  .header-btn .btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  /* Hero Section */
  .hero-area {
    padding: 90px 0 50px;
  }

  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-trust-indicators {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
  }

  .trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .trust-number {
    font-size: 1.25rem;
  }

  .trust-label {
    font-size: 11px;
    margin-top: 0;
  }

  .hero-buttons .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  /* Typography */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.125rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.9rem; }

  .section-title-text {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .section-desc {
    font-size: 14px;
  }

  /* Section Spacing */
  .pt-120 {
    padding-top: 50px !important;
  }

  .pb-120 {
    padding-bottom: 50px !important;
  }

  .pt-80 {
    padding-top: 40px !important;
  }

  .pb-80 {
    padding-bottom: 40px !important;
  }

  .mb-60 {
    margin-bottom: 30px !important;
  }

  .mb-30 {
    margin-bottom: 20px !important;
  }

  /* Buttons */
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 15px;
  }

  .btn-sm {
    padding: 8px 16px;
    font-size: 12px;
  }

  /* Services Section */
  .service-card {
    padding: 18px;
  }

  .service-icon {
    width: 55px;
    height: 55px;
  }

  .service-icon i {
    font-size: 22px;
  }

  .service-title {
    font-size: 1.125rem;
    margin-bottom: 12px;
  }

  .service-desc {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .service-features li {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .service-features li i {
    font-size: 12px;
  }

  .pricing-preview {
    margin: 16px 0;
  }

  .price-item {
    font-size: 13px;
  }

  /* Industries Section */
  .industry-card {
    padding: 18px;
  }

  .industry-icon {
    width: 45px;
    height: 45px;
  }

  .industry-icon i {
    font-size: 18px;
  }

  .industry-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .industry-desc {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .industry-solutions li {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .industry-btn {
    font-size: 13px;
  }

  .industry-icon-large {
    width: 55px;
    height: 55px;
  }

  /* Results Section */
  .counter-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .counter-icon i {
    font-size: 24px;
  }

  .counter-number {
    font-size: 1.75rem;
  }

  .counter-suffix {
    font-size: 1.25rem;
  }

  .counter-label {
    font-size: 13px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 20px;
    margin: 0 5px;
  }

  .testimonial-text {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .testimonial-metrics {
    margin-bottom: 20px;
  }

  .metric-value {
    font-size: 1.125rem;
  }

  .metric-label {
    font-size: 10px;
  }

  .author-image {
    width: 50px;
    height: 50px;
  }

  .author-name {
    font-size: 1rem;
  }

  .author-title {
    font-size: 13px;
  }

  .company-logo img {
    max-height: 20px;
  }

  /* Content Preview */
  .content-card {
    padding: 18px;
  }

  .content-title {
    font-size: 1rem;
  }

  .content-link h5 {
    font-size: 14px;
    line-height: 1.3;
  }

  .content-date,
  .content-price,
  .content-result {
    font-size: 12px;
  }

  .content-more-btn {
    font-size: 13px;
  }

  /* CTA Section */
  .cta-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .cta-desc {
    font-size: 14px;
  }

  /* Footer */
  .footer-top {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  .footer-widget {
    margin-bottom: 30px;
  }

  .footer-widget-title {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .footer-links li {
    margin-bottom: 6px;
  }

  .footer-links li a {
    font-size: 13px;
  }

  .footer-social a {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .footer-bottom {
    padding: 12px 0;
  }

  .footer-copyright {
    margin-bottom: 15px;
  }

  .footer-copyright p {
    font-size: 13px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-form input {
    border-radius: var(--border-radius);
    font-size: 12px;
    padding: 8px 12px;
  }

  .newsletter-form button {
    border-radius: var(--border-radius);
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* ==============================================
   Extra Small Mobile (320px and below)
   ============================================== */

@media (max-width: 320px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .section-title-text {
    font-size: 1.25rem;
  }

  .trust-item {
    flex-direction: column;
    gap: 5px;
  }

  .service-card,
  .industry-card,
  .content-card,
  .testimonial-card {
    padding: 15px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .counter-number {
    font-size: 1.5rem;
  }

  .counter-suffix {
    font-size: 1rem;
  }
}

/* ==============================================
   Print Styles
   ============================================== */

@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .header-area,
  .footer-area,
  .hero-floating-elements,
  .floating-card,
  .hero-shapes,
  .cta-shapes {
    display: none !important;
  }

  .hero-area {
    padding: 20px 0 !important;
  }

  .section-padding {
    padding: 20px 0 !important;
  }

  a {
    text-decoration: underline;
  }

  .service-card,
  .industry-card,
  .testimonial-card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
}

/* ==============================================
   Accessibility Improvements
   ============================================== */

/* Focus States */
@media (prefers-reduced-motion: no-preference) {
  .btn:focus,
  .service-card:focus,
  .industry-card:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-card,
  .hero-shapes .shape-1,
  .hero-shapes .shape-2,
  .hero-shapes .shape-3,
  .cta-shapes .shape-1,
  .cta-shapes .shape-2 {
    animation: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .service-card,
  .industry-card,
  .testimonial-card,
  .content-card {
    border: 2px solid currentColor;
  }

  .btn {
    border-width: 3px;
  }
}

/* Dark Mode Preference */
@media (prefers-color-scheme: dark) {
  /* This can be extended for dark mode support if needed */
  .newsletter-form input {
    background-color: var(--gray-700);
    border-color: var(--gray-500);
    color: var(--white-color);
  }
}