/* CSS Custom Properties (Variables) */

/* Mobile-First Responsive Styles */

/* Mobile Styles (Default - up to 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }

  .grid-12 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-9,
  .col-10,
  .col-11,
  .col-12 {
    grid-column: span 1;
  }

  .domianbottomsection {
    display: none;
  }

  .header {
    padding: 12px 0;
  }

  .header-content {
    height: 50px;
  }

  .logo-img {
    height: 32px;
  }

  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }

  .hamburger-menu:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
  }

  .hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }

  .hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .navigation {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 70px;
    overflow-y: auto;
  }

  .navigation.active {
    left: 0;
  }


  .main-content {
    margin-top: 0px;
    min-height: calc(100vh - 70px);
    align-items: flex-start;
    padding: 20px 0;
    min-height: 50vh;
  }

  .onlycentercontent {
    min-height: calc(100vh - 70px);
    padding: 20px 0;
    min-height: 50vh;
  }

  .content-container {
    padding: 30px 20px;
    min-height: 400px;
  }

  .main-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 16px;
    font-weight: 600;
  }

  .subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .search-input {
    padding: 16px 50px 16px 20px;
    border-radius: 12px;
  }

  .search-btn {
    right: 8px;
    background: var(--primary-blue);
    padding: 12px;
    border-radius: 8px;
  }

  .search-btn:hover {
    background: var(--primary-blue-hover);
  }

  /* Hide decorative elements on mobile */
  .tech-left,
  .tech-right {
    display: none;
  }

  /* Services Section Mobile */
  .services-section {
    padding: 24px 0;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 12px;
    text-align: center;
    font-weight: 600;
  }

  .section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
  }

  .service-card,
  .stat-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    height: 100%;
  }

  .service-card:hover,
  .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  }

  .service-title,
  .stat-title {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
  }

  .service-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
  }

  .stat-number {
    font-size: 32px;
    color: var(--primary-blue);
    margin: 12px 0;
  }

  .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
  }

  /* Technology Grid Mobile */
  .tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
  }

  .tech-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }

  .tech-item:hover {
    transform: scale(1.05);
  }

  .tech-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
  }

  /* App Types Mobile */
  .app-types {
    margin-top: 16px;
  }

  .app-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 12px;
  }

  .app-type:hover {
    transform: translateY(-2px);
  }

  .app-icon {
    margin-bottom: 8px;
  }

  .app-icon img {
    width: 32px;
    height: 32px;
  }

  .app-type span {
    font-size: 12px;
    font-weight: 500;
  }

  /* Industries Section Mobile */
  .industries-section .grid-12 {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .industry-card {
    padding: 20px;
    text-align: center;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
    transition: all 0.3s ease;
  }

  .industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  }

  .industry-icon {
    margin-bottom: 12px;
  }

  .industry-icon img {
    width: 48px;
    height: 48px;
  }

  .industry-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
  }

  .industry-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.8;
  }

  /* Blog Section Mobile */
  .blog-section .grid-12 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }

  .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  }

  .blog-image {
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-title {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 16px;
    font-weight: 600;
  }


  .contact-info {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 20px;
  }

  .contact-info p {
    margin-bottom: 12px;
  }

  .footer-title {
    display: none;
  }

  .footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-bottom p {
    font-size: 12px;
    line-height: 1.5;
  }

  /* Let's Build Section Mobile */
  .let_build {
    padding: 30px 0;
    text-align: center;
  }

  .let_build h2 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
  }

  /* 
  .let_build p {
    font-size: 1rem !important;
    margin-bottom: 30px !important;
    padding: 0 20px;
  } */
  .let_build p {
    margin-bottom: 30px !important;
    padding: 0 20px;
    max-width: 100%;
    text-align: left;
    padding: 0;
    line-height: 1.9;
  }

  .let_build div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: center;
  }

  .let_build .cdnbtn {
    width: 100%;
    max-width: 280px;
  }

  .cookie-consent {
    max-width: 80%;
    bottom: 8%;
  }

  .dp-none {
    display: block;
  }

  .section-nav-btn {
    bottom: 50%;
  }

}



/* Small Mobile Devices */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .content-container {
    padding: 0 10px;
  }

  .main-title {
    font-size: 2rem;
  }


  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .search-box .form-control {
    height: 50px;
    font-size: 13px;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 0 30px;
  }

  .content-container {
    padding: 0 30px;
  }

  .grid-12 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .main-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hamburger-menu {
    display: flex;
  }

  .navigation {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    transition: left 0.3s ease;
    padding-top: 80px;
  }

  .navigation.active {
    left: 0;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 30px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
  }

  .content-container {
    max-width: 1200px;
  }

  .grid-12 {
    grid-template-columns: repeat(12, 1fr);
    /* gap: 24px; */
    gap: 16px 4px;
  }

  .app-type {
    padding: 10px 5px;
  }

  .app-type span {
    font-size: 12px;
  }

  .hamburger-menu {
    display: none;
  }

  .navigation {
    position: static;
    background: none;
    width: auto;
    height: auto;
  }

  /*  */
  /* .tech-left, */
  /* .tech-right { */
  /* display: block; */
  /* } */

  .tech-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Large Desktop */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }

  .content-container {
    max-width: 1400px;
  }

  .grid-12 {
    gap: 20px;
  }


  .app-types .grid-12 {
    gap: 10px;
  }



  .main-title {
    font-size: 4rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .services-section {
    padding: 50px 0;
  }

  .tech-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .main-content h1 {
    font-size: 28px !important;
  }
}

.main-content .subtitle {
  font-size: 18px !important;
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: high) {


  .service-card:hover {
    border: 2px solid var(--primary-cyan);
  }
}

/* Print Styles */
@media print {

  .header,
  .hamburger-menu,
  .navigation,
  .tech-left,
  .tech-right {
    display: none !important;
  }

  .main-content {
    margin-top: 0;
  }

  * {
    box-shadow: none !important;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .section-title {
    font-size: 42px;
  }

  .schedulebtn a {
    font-size: 18px;
  }

  .industries-section,
  .services-section,
  .transparent-business,
  .cdnservices-section,
  .technologies-section,
  .blog-section,
  .let_build {
    padding: 35px 0;
  }

}

@media (min-width: 320px) and (max-width: 1023px) {

  /* for mobile */
  .schedulebtn {
    display: block;
  }

  .schedulebtn a {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .cdnbtn {
    display: block;
  }

  .cdnservice-item p {
    text-align: left;
  }

  .bm-10 {
    margin-bottom: 20px;
  }
.termsCondition label {
    display: contents;
}
}