@import 'tailwindcss';
@import './brand-scroller.css';

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';

@theme {
    /* Font Families */
    --font-sans: 'Open Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';
    --font-heading: 'Inter', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';
    
    /* Custom color theme */
    --color-primary: #4cb0e4;
    --color-secondary: #46aeb3;
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #e7e7e7;
    
    /* Color palette */
    --color-blue-50: #eff6ff;
    --color-blue-100: #dbeafe;
    --color-blue-200: #bfdbfe;
    --color-blue-300: #93c5fd;
    --color-blue-400: #60a5fa;
    --color-blue-500: #4cb0e4;
    --color-blue-600: #46aeb3;
    --color-blue-700: #1d4ed8;
    --color-blue-800: #1e40af;
    --color-blue-900: #1e3a8a;
    
    /* Teal variants */
    --color-teal-50: #f0fdfa;
    --color-teal-100: #ccfbf1;
    --color-teal-200: #99f6e4;
    --color-teal-300: #5eead4;
    --color-teal-400: #2dd4bf;
    --color-teal-500: #46aeb3;
    --color-teal-600: #0d9488;
    --color-teal-700: #0f766e;
    --color-teal-800: #115e59;
    --color-teal-900: #134e4a;
}

/* Custom Scrollbar Styles */
/* For Chrome, Edge, and Safari */
::-webkit-scrollbar {
    width: 8px;
    background: #e0e7ef;
}
::-webkit-scrollbar-thumb {
    background: #46aeb3;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4cb0e4;
}

/* For Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #46aeb3 #e0e7ef;
}

/* Start of Selection */
/* Footer Social Icons Custom Style */
.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #374151; /* Lighter neutral for contrast */
    color: #fff;
    font-size: 1.4rem;
    margin: 0 12px;
    transition: color 0.3s, background 0.3s;
}
.footer-social-icon:hover {
    color: #4cb0e4; /* Only icon color changes */
    background: #374151; /* Background stays the same */
}
.footer-social-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 24px;
}
/* End of Selection */

/* Mobile Footer Styles */
@media (max-width: 768px) {
  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
    font-size: 0.98rem;
    padding: 10px 0;
  }
  .footer-bottom-bar .footer-bottom-links {
    margin-top: 2px;
    display: flex;
    flex-direction: column;
    gap: 6px; /* more space between links */
  }
  .footer-bottom-bar .footer-bottom-links a {
    display: block;
    margin: 0 auto;
    padding: 8px 0; /* bigger tap area */
    font-size: 1rem;
  }
}

::selection {
  background: #38bdf8; /* Tailwind blue-400, matches logo */
  color: #fff;
}

::-moz-selection {
  background: #38bdf8;
  color: #fff;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  justify-items: center;
}

@media (min-width: 640px) {
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
  
}

@media (min-width: 1024px) {
  .logo-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 2.5rem;
  }
}

.logo-card {
  background: #f8f9fa;
  width: 100%;
  max-width: 15rem;
  height: 8rem;
  display: flex;  
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid #e9ecef;
  margin: 0;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: #dee2e6;
}

.logo-card img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  filter: grayscale(0%);
  transition: all 0.3s ease;
}

.logo-card:hover img {
  filter: grayscale(0%);
}

/* Mobile-specific improvements */
@media (max-width: 639px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .logo-card {
    height: 8rem;
    border-radius: 12px;
    background: #ffffff;
    border: 2px solid #f1f3f4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  
  .logo-card img {
    max-width: 85%;
    max-height: 85%;
    filter: grayscale(0%);
  }
  
  .logo-card:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  
  .logo-card:hover img {
    filter: grayscale(0%);
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0 0.25rem;
  }
  
  .logo-card img {
    max-width: 80%;
    max-height: 80%;
  }
}

/* Mobile-specific logo grid improvements */
.mobile-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  justify-items: center;
}

@media (min-width: 640px) {
  .mobile-logo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .mobile-logo-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .mobile-logo-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
  }
}

/* Enhanced mobile styling for logo cards */
@media (max-width: 639px) {
  .mobile-logo-grid .logo-card {
    height: 10rem;
    width: 10rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .mobile-logo-grid .logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: #d1d5db;
  }
  
  .mobile-logo-grid .logo-card img {
    max-width: 90%;
    max-height: 90%;
    filter: grayscale(0%);
    transition: all 0.3s ease;
  }
  
  .mobile-logo-grid .logo-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
  }
}

@media (max-width: 480px) {
  .mobile-logo-grid {
    gap: 0.75rem;
    padding: 0 0.5rem;
  }
  
  .mobile-logo-grid .logo-card {
    height: 10rem;
    width: 10rem;
    border-radius: 12px;
  }
  
  .mobile-logo-grid .logo-card img {
    max-width: 85%;
    max-height: 85%;
    filter: grayscale(0%);
  }
}

/* Join Our Team Section Styles */
.join-section {
  width: 100%;
  background: #fbfbfb;
  padding: 6rem 0;
}

.join-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.join-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .join-grid {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
}

.join-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2rem;
  align-items: flex-start;
}

.join-title {
  font-size: 3rem;
  font-weight: bold;
  color: #000000;
  margin-bottom: 1rem;
}

.join-desc {
  font-size: 1.125rem;
  color: #616161;
  margin-bottom: 2rem;
  max-width: 32rem;
  line-height: 1.7;
}

.join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #232323;
  border: 2px solid #232323;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: all 0.2s;
  text-decoration: none;
  min-width: 0;
  width: auto;
  max-width: 100%;
}
.join-btn:hover {
  /* background: #0099a8; */
  color: #0099a8;
  border-color: #0099a8;
  transform: scale(1.05);
}

.join-btn-icon {
  margin-left: 0.5rem;
  width: 1.1em;
  height: 1.1em;
  stroke: currentColor;
}

.join-btn.join-btn-white {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.join-btn.join-btn-white:hover {
  background: transparent;
  border-color: #0099a8;
  color: #0099a8;
}

.join-image-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.join-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  object-fit: cover;
}

/* Why BCS Section - Make all text white */
/* .why-bcs-header {
  text-align: left !important;
}
.why-bcs-header * {
  text-align: left !important;
} */
.why-bcs-header,
.why-bcs-header *,
.stats-grid,
.stats-grid * {
  color: #fff !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
}

/* Service Navigation Styles (moved from web-development.blade.php) */
.service-nav {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
    overflow-x: auto;
    padding: 0 0.5rem;
}
.service-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    transition: color 0.2s, transform 0.2s;
    cursor: pointer;
    position: relative;
    background: #fff;
    text-align: center;
}
.service-nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 30%;
    height: 40%;
    width: 1px;
    background: #e5e7eb;
}
.service-nav-item .icon {
    width: 38px;
    height: 38px;
    margin-bottom: 0.5rem;
    stroke-width: 2.2;
    color: #222f3e;
    transition: color 0.2s, transform 0.2s;
}
.service-nav-item.active .icon,
.service-nav-item:hover .icon {
    color: #38b2ac;
    transform: scale(1.12);
}
.service-nav-item .label {
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #222f3e;
    line-height: 1.15;
    transition: color 0.2s;
    margin-top: 0.1rem;
}
.service-nav-item.active .label,
.service-nav-item:hover .label {
    color: #38b2ac;
}

@media (max-width: 900px) {
    .service-nav-item { min-width: 100px; padding: 1rem 0.5rem 0.7rem 0.5rem; }
    .service-nav-item .icon { width: 30px; height: 30px; }
    .service-nav { padding: 0; }
}

@media (max-width: 768px) {
    .service-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        padding: 1rem;
        overflow-x: visible;
    }
    .service-nav-item {
        min-width: auto;
        padding: 1rem 0.5rem;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
        background: #f9fafb;
        transition: all 0.2s ease;
    }
    .service-nav-item:hover {
        background: #f3f4f6;
        border-color: #d1d5db;
    }
    .service-nav-item.active {
        background: #38b2ac;
        border-color: #38b2ac;
        color: white;
    }
    .service-nav-item.active .icon,
    .service-nav-item.active .label {
        color: white;
    }
    .service-nav-item .icon {
        width: 28px;
        height: 28px;
        margin-bottom: 0.5rem;
    }
    .service-nav-item .label {
        font-size: 0.8rem;
        line-height: 1.2;
        font-weight: 600;
    }
    .service-nav-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .service-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 1rem 0.75rem;
    }
    .service-nav-item {
        padding: 0.75rem 0.25rem;
    }
    .service-nav-item .icon {
        width: 24px;
        height: 24px;
        margin-bottom: 0.4rem;
    }
    .service-nav-item .label {
        font-size: 0.75rem;
        line-height: 1.1;
    }
}

@media (max-width: 360px) {
    .service-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .service-nav-item {
        padding: 0.75rem 0.25rem;
    }
    .service-nav-item .icon {
        width: 22px;
        height: 22px;
    }
    .service-nav-item .label {
        font-size: 0.7rem;
    }
}

/* Technologies We Use - Mobile Improvements */

@media (max-width: 768px) {
  .tech-badges {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }
  .tech-badges > span {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    margin: 0 auto;
    min-width: 0;
    max-width: 320px;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .tech-badges > span {
    font-size: 0.95rem;
    padding: 0.6rem 0.5rem;
    max-width: 100%;
  }
}

/* Digital Transformation page: Technologies We Use mobile fix */
.digital-transformation-page .tech-badges {
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.75rem !important;
  width: 100%;
}
.digital-transformation-page .tech-badges > span, .digital-transformation-page .tech-badges > div > span {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  margin: 0 auto;
  min-width: 0;
  max-width: 320px;
  box-sizing: border-box;
  display: flex;
}
@media (max-width: 768px) {
  .digital-transformation-page .tech-badges {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100%;
  }
  .digital-transformation-page .tech-badges > span, .digital-transformation-page .tech-badges > div > span {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    margin: 0 auto;
    min-width: 0;
    max-width: 320px;
    box-sizing: border-box;
    display: flex;
  }
}

