/*
* Roundbracket - Responsive Styles
* Redesigned: January 2026
* Theme: Dark Flat
*/

/* ==========================================================================
   LARGE DESKTOPS (1400px+)
   ========================================================================== */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-logo {
    max-width: 800px;
  }
  
  .hero-tagline {
    margin-bottom: 32px;
  }
  
  .hero-trust {
    gap: 32px;
  }
  
  .trust-item i {
    font-size: 36px;
  }
  
  .trust-item span {
    font-size: 14px;
  }
}

/* ==========================================================================
   DESKTOPS (992px - 1199px)
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1199px) {
  :root {
    --section-padding: 100px;
  }
  
  .section-header .section-title {
    font-size: 2.2rem;
  }
  
  .item-boxes {
    padding: 30px 20px;
  }
  
  .item-boxes h4 {
    font-size: 18px;
  }
}

/* ==========================================================================
   TABLETS (768px - 991px)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 991px) {
  :root {
    --section-padding: 80px;
  }
  
  .hero-content {
    padding: 0;
  }
  
  .hero-center {
    padding: 30px 0;
  }
  
  .hero-logo {
    max-width: 360px;
  }
  
  .hero-tagline {
    margin-bottom: 28px;
  }
  
  .hero-trust {
    gap: 20px;
  }
  
  .trust-item i {
    font-size: 28px;
  }
  
  .trust-item span {
    font-size: 12px;
  }
  
  .section-header .section-title {
    font-size: 1.8rem;
  }
  
  .item-boxes {
    padding: 30px 20px;
  }
  
  .item-boxes h4 {
    font-size: 18px;
  }
  
  .item-boxes p {
    font-size: 14px;
  }
  
  #features .show-box img {
    display: none;
  }
  
  .pricing-table .pricing-details ul li {
    font-size: 13px;
  }
  
  .counters .facts-item .fact-count h4 {
    font-size: 14px;
  }
  
  .single-team {
    margin-bottom: 30px;
  }
  
  .meta-tags span {
    margin-right: 8px;
    font-size: 12px;
  }
  
  .meta-tags span i {
    margin-right: 3px;
  }
  
  #blog .blog-item-text h3 {
    font-size: 16px;
    line-height: 1.4;
  }
  
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-top: none;
    padding: 16px;
  }
  
  .navbar-nav .nav-item a {
    display: block;
    padding: 12px 18px;
    border-radius: 10px;
  }
  
  .navbar-nav .nav-item a:hover {
    background: var(--bg-card-hover);
  }
}

/* ==========================================================================
   MOBILE LANDSCAPE & SMALL TABLETS (576px - 767px)
   ========================================================================== */
@media (min-width: 576px) and (max-width: 767px) {
  :root {
    --section-padding: 60px;
  }
  
  .section-header .section-title {
    font-size: 1.6rem;
  }
  
  .hero-content {
    padding: 0;
  }
  
  .hero-center {
    padding: 20px 0;
  }
  
  .hero-logo {
    max-width: 320px;
  }
  
  .hero-tagline {
    margin-bottom: 24px;
  }
  
  .item-boxes {
    padding: 25px 20px;
    border-radius: 12px;
  }
}

/* ==========================================================================
   MOBILE PORTRAIT (< 576px)
   ========================================================================== */
@media (max-width: 767px) {
  :root {
    --section-padding: 70px;
  }
  
  body {
    font-size: 15px;
    line-height: 1.7;
  }
  
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  /* Navigation */
  .navigation {
    padding: 15px 0;
  }
  
  .navigation.sticky {
    padding: 10px 0;
  }
  
  .navbar-brand img {
    height: 35px;
  }
  
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-top: none;
    padding: 15px;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .navbar-nav {
    gap: 5px;
  }
  
  .navbar-nav .nav-item a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
  }
  
  .navbar-nav .nav-item a:hover {
    background: var(--bg-card-hover);
  }
  
  .navbar-nav .nav-item.active a {
    border-radius: 8px;
  }
  
  /* Hero Section */
  #hero-area {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  .hero-content {
    padding: 80px 0 60px;
  }

  .hero-center {
    padding: 0;
  }

  .hero-logo-wrapper {
    margin-bottom: 32px;
  }

  .hero-logo {
    max-width: 320px;
  }

  .hero-tagline {
    line-height: 1.4;
    margin-bottom: 32px;
    padding: 0 20px;
    font-size: 1.4rem;
  }

  .tagline-item {
    display: block;
    margin: 8px 0;
  }

  .hero-cta-single {
    margin-bottom: 40px;
  }

  .hero-cta-single .btn {
    min-width: 170px;
    padding: 14px 28px;
    font-size: 14px;
  }

  .hero-trust {
    gap: 20px;
    padding: 0 10px;
  }

  .trust-item {
    gap: 6px;
  }

  .trust-item i {
    font-size: 26px;
  }

  .trust-item span {
    font-size: 11px;
  }

  .scroll-indicator {
    bottom: 30px;
  }

  .scroll-indicator a {
    padding: 12px;
  }

  .scroll-indicator span {
    width: 10px;
    height: 10px;
    border-right-width: 2px;
    border-bottom-width: 2px;
  }
  
  /* Section Headers */
  .section-header {
    margin-bottom: 50px;
  }
  
  .section-header .section-title {
    font-size: 1.75rem;
    letter-spacing: 0;
  }
  
  .section-header .section-subtitle {
    font-size: 16px;
    padding: 0 20px;
    line-height: 1.7;
  }
  
  .section-header .item-boxes img {
    width: 220px;
    height: auto;
  }
  
  /* Cards */
  .item-boxes {
    padding: 30px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
  }
  
  .item-boxes .icon,
  .item-boxes .icon-green,
  .item-boxes .icon-pink,
  .item-boxes .icon-grey {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  
  .item-boxes .icon i,
  .item-boxes .icon-green i,
  .item-boxes .icon-pink i,
  .item-boxes .icon-grey i {
    font-size: 30px;
  }
  
  .item-boxes h4 {
    font-size: 19px;
    margin-bottom: 12px;
  }
  
  .item-boxes p {
    font-size: 15px;
    line-height: 1.7;
  }
  
  /* Features */
  #features .show-box img {
    display: none;
  }
  
  #features .box-item .text h4 {
    font-size: 16px;
  }
  
  #features .box-item .icon {
    width: 55px;
    height: 55px;
  }
  
  #features .box-item .icon i {
    font-size: 24px;
  }
  
  /* Controls/Filters */
  .controls {
    margin: 0;
    gap: 8px;
  }
  
  .controls .btn {
    font-size: 12px;
    padding: 8px 14px;
  }
  
  /* Video Promo */
  .video-promo .video-promo-content h2 {
    font-size: 20px;
  }
  
  .video-promo .video-promo-content .video-popup {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }
  
  /* Pricing */
  .pricing-table {
    margin-bottom: 20px;
    border-radius: 12px;
  }
  
  .pricing-table .pricing-details span {
    font-size: 36px;
  }
  
  /* Counters */
  .counters .facts-item {
    margin-bottom: 30px;
    padding: 20px;
  }
  
  .counters .facts-item .fact-count h3 {
    font-size: 32px;
  }
  
  .counters .facts-item .fact-count h4 {
    font-size: 14px;
  }
  
  /* Team */
  .single-team {
    margin-bottom: 20px;
    border-radius: 12px;
  }
  
  /* Contact */
  .contact-us {
    margin-bottom: 30px;
  }
  
  .contact-us h3 {
    font-size: 26px;
  }
  
  .form-control {
    padding: 14px 16px;
    font-size: 14px;
  }
  
  /* Blog */
  #blog .blog-item-wrapper {
    border-radius: 12px;
    margin-bottom: 20px;
  }
  
  #blog .blog-item-text {
    padding: 20px;
  }
  
  #blog .blog-item-text h3 {
    font-size: 18px;
  }
  
  /* Footer */
  footer {
    padding: 35px 0;
  }

  .footer-links li a {
    margin-right: 15px;
    font-size: 13px;
  }
  
  .copyright {
    float: none;
    text-align: center;
    margin-top: 0;
  }
  
  .copyright p {
    margin: 0 !important;
    font-size: 13px;
  }
  
  /* Buttons */
  .btn {
    padding: 13px 26px;
    font-size: 13px;
    border-radius: 40px;
  }
  
  .btn-lg {
    padding: 15px 32px;
    font-size: 14px;
  }
  
  /* Scroll to top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
  
  .back-to-top i {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }
}

/* ==========================================================================
   VERY SMALL SCREENS (< 375px)
   ========================================================================== */
@media (max-width: 375px) {
  #hero-area .contents h1 {
    font-size: 28px;
  }
  
  .section-header .section-title {
    font-size: 1.3rem;
  }
  
  .main-logo {
    max-width: 200px;
  }
  
  .item-boxes {
    padding: 20px 15px;
  }
  
  .item-boxes h4 {
    font-size: 16px;
  }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  
  .navigation,
  .back-to-top,
  #loader {
    display: none !important;
  }
  
  .section {
    padding: 30px 0;
    page-break-inside: avoid;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   HIGH CONTRAST MODE
   ========================================================================== */
@media (prefers-contrast: high) {
  :root {
    --primary: #4dc8ff;
    --accent: #4de0b0;
    --text-primary: #ffffff;
    --text-secondary: #d0d0d0;
    --border-subtle: #444444;
    --border-hover: #666666;
  }
  
  .item-boxes,
  .pricing-table,
  .single-team,
  #blog .blog-item-wrapper {
    border-width: 2px;
  }
}
