/* 
 * Responsive Styles for Nexra Corppe Website
 * Mobile-first responsive design
 */

/* ============= Base Responsive Adjustments ============= */
body {
  overflow-x: hidden;
  width: 100%;
}

@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  h1 {
    font-size: 3rem;
  }
}

@media (max-width: 991px) {
  .container {
    max-width: 720px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .grid-3,
  .grid-4,
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-item.large {
    grid-column: span 2;
  }
  
  .corp-section-header {
    max-width: 100%;
  }
  
  /* Header adjustments */
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    z-index: 99;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    text-align: center;
  }
  
  .main-nav li {
    margin: 1rem 0;
  }
  
  .main-nav a {
    font-size: 1.2rem;
    color: var(--color-dark);
  }
  
  /* Hero section adjustments */
  .hero .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-content {
    text-align: center;
    order: 1;
  }
  
  .hero-image {
    order: 0;
    display: flex;
    justify-content: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  /* About section adjustments */
  .about-image {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
  }
  
  .image-card {
    width: 100%;
    max-width: 400px;
  }
  
  /* Feature box adjustments */
  .feature-box {
    padding: 1.5rem;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.85rem;
  }
  
  /* Section spacing */
  .section {
    padding: 3.5rem 0;
  }
  
  /* Hero section */
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons,
  .corp-hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-buttons .btn,
  .corp-hero-buttons .corp-btn {
    width: 100%;
    max-width: 100%;
  }
  
  /* Footer adjustments */
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .copyright {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* CTA section */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 100%;
  }
  
  /* Client logos */
  .client-logos-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (max-width: 575px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  /* Card adjustments */
  .card-img {
    height: 180px;
  }
  
  /* About features */
  .grid-2.mb-8 {
    grid-template-columns: 1fr;
  }
  
  /* Form layout */
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.grid {
  display: grid;
  gap: 2rem;
}

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

.latest-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ============= Precision Corporate Landing Page Styles ============= */
.trusted-by-section {
  background: #0f172a;
  padding: 3rem 0;
  border-bottom: 1px solid #1e293b;
  border-top: 1px solid #1e293b;
}

.trusted-by-label {
  color: #64748b;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  font-weight: 600;
}

.trusted-by-marquee {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  flex-wrap: wrap;
}

.trusted-by-marquee .client-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.trusted-by-marquee a:hover .client-logo {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.trusted-by-marquee span {
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -0.05em;
}

.tech-stack-icons {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
  font-size: 4rem;
  color: #cbd5e1;
}

.tech-stack-icons i {
  transition: color 0.3s;
}

.tech-stack-icons i:hover {
  color: var(--color-primary);
}

.tech-stack-title {
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.tech-stack-subtitle {
  color: #64748b;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.tech-icon-aws:hover { color: #ff9900 !important; }
.tech-icon-azure:hover { color: #00a4ef !important; }
.tech-icon-google:hover { color: #ea4335 !important; }
.tech-icon-react:hover { color: #61dafb !important; }
.tech-icon-node:hover { color: #339933 !important; }
.tech-icon-python:hover { color: #3776ab !important; }
.tech-icon-docker:hover { color: #2496ed !important; }

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.methodology-item {
  border-left: 2px solid #e2e8f0;
  padding-left: 2rem;
  transition: border-color 0.3s;
}

.methodology-item:hover {
  border-color: #2563eb;
}

.methodology-number {
  color: #2563eb;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.methodology-title {
  font-size: 1.25rem;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.methodology-desc {
  color: #64748b;
  font-size: 0.875rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
}

.industry-item {
  background: #fff;
  padding: 3rem 2rem;
}

.industry-icon {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 1.5rem;
}

.industry-title {
  font-size: 1.25rem;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.industry-desc {
  color: #64748b;
  font-size: 0.875rem;
}

.corp-grid-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: center;
}

.corp-header-desc {
  color: #64748b;
  font-size: 1.125rem;
  line-height: 1.6;
}

.corp-section-dark {
  background: #0f172a;
  color: white;
  padding: 6rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.corp-text-blue {
  color: #38bdf8 !important;
}

.corp-title-white {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #f8fafc;
}

.corp-desc-gray {
  color: #94a3b8;
  font-size: 1.125rem;
  margin-bottom: 3rem;
  max-width: 400px;
}

.location-item {
  border-left: 2px solid #334155;
  padding-left: 1.5rem;
  margin-bottom: 2.5rem;
}

.location-primary {
  border-color: #38bdf8;
}

.location-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #f8fafc;
}

.location-desc {
  color: #64748b;
}

.corp-cta-section {
  background: #0f172a;
  padding: 6rem 0;
  text-align: center;
  color: white;
}

.corp-cta-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.corp-cta-desc {
  font-size: 1.25rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.corp-cta-btn {
  font-size: 1.125rem;
  padding: 1.25rem 3rem !important;
}

/* Hero Section Helper Classes */
.corp-hero-badge-container {
  color: #38bdf8;
}

.corp-hero-badge {
  background: rgba(56, 189, 248, 0.1);
  padding: 0.25rem 1rem;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.corp-hero-buttons {
  display: flex;
  gap: 1rem;
}

.corp-margin-left-sm {
  margin-left: 0.5rem;
}

/* Testimonial Section */
.corp-justify-center {
  justify-content: center;
}

.corp-section-title-margin {
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4rem;
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  position: relative;
}

.testimonial-quote-icon {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 3rem;
  color: #f1f5f9;
}

.testimonial-text {
  font-size: 1.25rem;
  color: #0f172a;
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

/* Editorial Insights Classes */
.corp-text-black {
  color: #0f172a !important;
}

.news-card {
  background: #fff;
  padding: 2rem;
  border-top: 2px solid #0f172a;
  transition: all 0.3s;
}

.news-meta {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.news-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.news-title a {
  color: inherit;
  text-decoration: none;
}

.news-link {
  color: #0f172a !important;
  border-bottom: 1px solid #0f172a;
  padding-bottom: 0.25rem;
}

.news-footer {
  margin-top: 3rem;
}

.news-view-all {
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
}

/* About Section Classes */
.about-image-container {
  width: 100%;
}

.about-image {
  width: 100%;
  border: 1px solid #e2e8f0;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-desc {
  color: #475569;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.about-link {
  margin-bottom: 2rem;
}

/* Bento Product Title */
.bento-product-title {
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #fff;
}

.bento-tag-live {
  background: rgba(22, 163, 74, 0.25) !important;
  color: #4ade80 !important;
}

.bento-item {
  text-decoration: none;
}

.bento-logo {
  height: 40px;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.bento-item-dark {
  background: #1e293b !important;
  border-color: #334155 !important;
}

.global-presence-globe {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 0.05;
}

.global-presence-globe i {
  font-size: 24rem;
  color: #fff;
}

/* ============= Precision Corporate Responsive Styles ============= */
@media (max-width: 1024px) {
  .corp-hero {
    padding: 8rem 0 4rem;
  }
  
  .corp-hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
  
  .split-layout,
  .corp-grid-header {
    gap: 3rem;
  }
  
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .global-presence-globe i {
    font-size: 15rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .corp-section,
  .corp-section-alt,
  .corp-section-dark,
  .corp-cta-section {
    padding: 4rem 0;
  }
  
  .corp-section-header,
  .corp-grid-header {
    margin-bottom: 2.5rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .corp-grid-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .corp-section-header h2,
  .corp-title-white,
  .tech-stack-title {
    font-size: 2.25rem;
  }

  .tech-stack-subtitle {
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
  }

  .corp-cta-title {
    font-size: 2.25rem;
  }
  
  .split-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .about-image-container {
    max-width: 500px;
    margin: 0 auto;
  }

  .about-content {
    text-align: center;
  }
  
  .corp-hero-text,
  .corp-desc-gray,
  .corp-cta-desc {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .corp-hero-buttons {
    justify-content: center;
  }

  .testimonial-card {
    padding: 2.5rem 1.5rem;
  }

  .testimonial-quote-icon {
    top: 1rem;
    left: 1rem;
    font-size: 2rem;
  }

  .corp-section-title-margin {
    font-size: 2.25rem;
    margin-bottom: 2rem;
  }

  .location-item {
    text-align: left;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .corp-hero .container > div:last-of-type {
    justify-content: center;
  }
  
  .bento-grid {
    grid-template-columns: 1fr !important;
  }
  
  .bento-item.large {
    grid-column: span 1 !important;
  }
  
  .methodology-grid,
  .corp-stat-grid,
  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .latest-news-grid {
    grid-template-columns: 1fr !important;
  }

  .trusted-by-marquee {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .trusted-by-marquee span {
    font-size: 1.25rem;
  }
  
  .news-footer {
    text-align: center;
    margin-top: 2rem;
  }

  .news-view-all {
    width: 100%;
    max-width: 100%;
  }

  .corp-tagline-brand {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  
  .corp-tagline-sub {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }
  
  .global-presence-globe {
    display: none !important;
  }
  
  .corp-service-card {
    padding: 2rem;
  }
  
  .industries-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .corp-hero h1,
  .corp-section-header h2,
  .corp-title-white,
  .corp-cta-title,
  .corp-section-title-margin,
  .about-title,
  .tech-stack-title {
    font-size: 1.85rem;
  }

  .tech-stack-icons {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    font-size: 3.5rem;
  }
  
  .corp-btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .corp-hero-buttons {
    flex-direction: column;
    gap: 0 !important;
  }
  
  .corp-hero-buttons .corp-btn {
    margin-bottom: 1rem;
  }

  .testimonial-card {
    padding: 2rem 1rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .corp-cta-btn {
    padding: 1rem 2rem !important;
  }
  
  .bento-item {
    padding: 2rem 1.5rem;
  }

  .bento-logo {
    height: 32px;
    margin-bottom: 1.5rem;
  }
  
  .corp-tagline-section {
    padding: 4rem 0;
  }
}

/* ============= Navigation Fixes ============= */
@media (max-width: 991px) {
  /* .nav-list {
    display: flex;
  } */
  
  body.mobile-nav-open {
    overflow: hidden;
  }
}


/* Cards */
@media (max-width: 767px) {
  .card {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Hero Content */
@media (max-width: 767px) {
  .badge {
    margin-bottom: 1rem;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
  
  .stat-label {
    font-size: 0.875rem;
  }
}

/* CTA Section */
@media (max-width: 767px) {
  .cta-wrapper {
    padding: 2rem 1rem;
  }
  
  .client-logo {
    height: 1.5rem;
  }
  
  .clients-section h4 {
    font-size: 1.1rem;
  }
}

/* About Section Responsive */
@media (max-width: 767px) {
  .feature-box {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .feature-icon {
    margin-bottom: 0.5rem;
  }
  
  .experience-badge {
    padding: 1rem;
    right: 0;
    bottom: 0;
  }
  
  .exp-years {
    font-size: 1.75rem;
  }
}

/* Floating Elements */
@media (max-width: 767px) {
  .floating-image {
    transform: none !important;
    animation: none;
  }
}

/* Buttons */
@media (max-width: 767px) {
  .btn-lg {
    padding: 0.75em 1.5em;
    font-size: 1rem;
  }
}

/* Navigation */
@media (max-width: 575px) {
  .site-header {
    height: 70px;
  }
  
  .logo img {
    height: 35px;
  }
}
