:root {
    --font-primary: 'Poppins', sans-serif;
  }
  
  /* Apply to entire body */
  body {
    font-family: var(--font-primary);
  }
  
  /* Hero heading with Poppins */
  .hero h1 {
    font-family: var(--font-primary);
    font-weight: 700; /* Bold */
    font-size: 3rem;
    line-height: 1.2;
  }
  
  /* Optional: Make other headings Poppins too */
  h1, h2, h3 {
    font-family: var(--font-primary);
    font-weight: 600; /* Semi-bold */
  }

/* Basic Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
  }

/* Typography */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333
}

/* Navigation */
nav {
  background: #111;
  padding: 1rem;
  text-align: center;
}
nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
}

/* Header Layout */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 2rem;
    background: #111;
    position: relative;
    z-index: 10;
  }
  
  /* Logo Styling */
  .logo img {
    height: 120px; /* Adjust based on your logo */
    width: auto;  /* Maintain aspect ratio */
    transition: transform 0.3s ease; /* Optional: Add hover effect */
    padding-left: 40px;
  }
  
  .logo img:hover {
    transform: scale(1.05); /* Optional: Slight zoom on hover */
  }
  
  /* Navigation Menu */
  nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease; /* Smooth text color transition */
    padding-right: 100px;
  }

  nav a:hover {
    color: #f0f0f0; /* Lighter shade on hover */
    
  }

  /* Navigation Button Styling */
.nav-button {
    background: transparent;
    color: #fff !important;
    border: 1px solid #fff;
    padding: 12px 30px;
    font-size: large;
    border-radius: 100px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-right: 40px;
  }
  
  .nav-button:hover {
    background: #fff;
    color: #000 !important;
  }

/* Hero Section with Video - Same Position as Image */
.hero {
  background: #000;
  color: white;
  min-height: 100vh;
  padding: 0px 0 0; /* Keep header spacing */
  position: relative;
}

.hero-container {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 5rem;
  padding: 0 0rem;
  gap: 7rem;
  position: relative;
  z-index: 2;
  height: calc(100vh - 80px);
}

/* Video Container - Same Position as Previous Image */
.hero-video {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
  height: 600px; /* Match your previous image height */
  margin-left: 200px;
  width: auto;
}

.hero-video video {
  max-height: 600px; /* Match your image height */
  width: auto; /* Maintain aspect ratio */
  object-fit: contain;
  border-radius: 8px; /* Optional: if you had rounded corners */
  opacity: 1; /* Full opacity since it's not background */
}

/* Keep your existing hero content styles */
.hero-content {
  flex: 1;
  padding-left: 50px; /* Maintain your logo alignment */
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  margin: 0;
}

.hero p {
  width: 650px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin: 60px 0;
}

.line1, .line2 {
  display: flex;
}

.line2 {
  margin-top: -0.5rem;
}

.cta-button {
  background: transparent;
  color: #fff !important;
  border: 1px solid #fff;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #fff;
  color: #000 !important;
}

  /* About Section */
.about-section {
  padding: 100px 10px;
  background: #222; /* Dark background */
}

/* About Section Container */
.about-container {
  max-width: 2000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 2rem;
  padding: 0 70px; /* Match your content padding */
}

/* Button Container Fix */
.about-buttons {
  display: flex;
  gap: 1rem; /* Space between buttons */
}

/* Heading Container */
.about-heading-wrapper {
  grid-column: 1; /* Forces left column alignment */
}

.about-heading {
  white-space: nowrap; /* Prevents line breaks */
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  }


/* New subheading paragraph */
.about-subheading {
  white-space: nowrap; /* Prevents line breaks */
  font-family: 'Poppins', sans-serif;
  font-weight: 700; /* Lighter than main heading */
  font-size: 50px;
  color: #fff;
  margin: 0 0 1.5rem 0; /* Top Right Bottom Left */
  padding-left: 0px;
  line-height: 1.4;
  width: 100%;
  max-width: 90%; /* Prevents overflow */
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-description {
  font-size: 20px;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 2rem;
  padding-right: 100px;
}

/* Unified Button Styles */
.about-cta {
  padding: 12px 30px !important;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping */
}

.about-cta:hover {
  background: #fff;
  color: #000 !important;
}

/* Primary Button */
.about-cta:not(.secondary-cta) {
  background: transparent;
  color: #fff !important;
  border: 1px solid #fff;
}

.about-cta:not(.secondary-cta):hover {
  background: #fff;
  color: #000 !important;
}

/* Secondary Button Style */
.about-cta.secondary-cta {
  padding: 12px 30px !important; /* Force equal padding */
  height: 48px; /* Force equal height */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.about-cta.secondary-cta:hover {
  background: #fff;
  color: #000 !important;
}

/* ===== HOMEPAGE SERVICES SECTION ===== */
.home-services-section {
  padding: 5rem 2rem;
  background: #111;
}

.home-services-container {
  max-width: 1800px;
  margin: 0 auto;
  text-align: center;
}

.home-services-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: white;
}

.home-services-subheading {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  margin-left: 0px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

/* Homepage Grid */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.home-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  text-align: center;
}

.home-service-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.home-service-icon {
  min-height: 60px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: white;
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-service-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.home-service-cta {
  margin-top: auto;
  align-self: center;
  width: fit-content;
  min-width: 140px;
  text-align: center;
  padding: 12px 30px !important;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: transparent;
  backdrop-filter: blur(10px);
  border: 1px solid white;
  border-radius: 50px;
  color: rgb(255, 255, 255) !important;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.home-service-cta:hover {
  background: #fff;
  color: #000 !important;
  transform: translateY(-2px);
}

/* Portfolio Section */
.portfolio-section {
  padding: 5rem 2rem;
  background: #111;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Poppins', sans-serif;
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
}

/* Portfolio Grid */
.portfolio-grid {
  max-width: 2000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-item {
  aspect-ratio: 16/9; /* Maintains image proportions */
  overflow: hidden;
  border-radius: 1px;
  position: relative;
}*/

.portfolio-thumbnail {
  position: relative;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}

.portfolio-link {
  display: block;
  height: 100%;
}

.portfolio-link img {
  width: 950px;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover Effects */
.portfolio-item:hover .portfolio-link img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  transition: bottom 0.3s ease;
  color: white;
}

.portfolio-item:hover .portfolio-overlay {
  bottom: 0;
}

.portfolio-overlay h3 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.5rem;
}

.portfolio-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
} 

/* CTA Banner Section */
.cta-banner {
  padding: 4rem 2rem;
  /*background: #111;*/
  background: linear-gradient(135deg, #081d44 0%, #093daf 100%);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-subheading {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cta-main-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 2vw, 3.5rem);
  color: white;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background: #0066cc;
  color: white !important;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #0066cc;
}

.cta-button:hover {
  background: transparent;
  color: #fff !important;
}

/* Optional Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cta-content > * {
  animation: fadeInUp 0.6s ease forwards;
}

.cta-subheading { animation-delay: 0.1s; }
.cta-main-heading { animation-delay: 0.3s; }
.cta-button { animation-delay: 0.5s; }

/* Footer Styles */
.site-footer {
  background: #111;
  color: #fff;
  padding: 4rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}

/* Left Column */
.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-map {
  height: 200px;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  overflow: hidden;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  color: #fff;
  background: #202020;
  width: 60px;
  height: 60px;
  border: #fff;
  border-radius: 10%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: #0066cc;
  transform: translateY(-3px);
}

.social-links i {
  font-size: 1.5rem;
}

.copyright {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: auto; /* Pushes to bottom */
}

/* Middle Column */
.footer-middle {
  text-align: center;
  font-size:  20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* Right Column */
.footer-right {
  text-align: right;
}

address {
  font-style: normal;
  font-size: 20px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 1rem 0;
}

.contact-info {
  margin-bottom: 2rem;
  font-size: 20px;
}

.contact-info i {
  margin-right: 0.5rem;
  color: #0066cc;
}

.footer-logo {
  margin-top: auto; /* Pushes logo to bottom */
  opacity: 0.8;
  height: 180px;
  width: auto;
}

/* Headers */
.footer-middle h3, 
.footer-right h3 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-middle h3::after,
.footer-right h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #0066cc;
}

.footer-right h3::after {
  left: auto;
  right: 0;
}

/* Clickable Contact Links */
.clickable-contact {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.clickable-contact:hover {
  color: #fff;
  transform: translateX(5px);
}

.clickable-contact i {
  color: #0066cc;
  margin-right: 0.5rem;
  transition: inherit;
}

.clickable-contact:hover i {
  color: #fff;
}

/* Contact Section */
.contact-section {
  padding: 5rem 2rem;
  background: #111;
  color: white;
}

.contact-container {
  max-width: 2000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Left Column */
.contact-pitch h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.highlight-text {
  color: #0066cc;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.contact-pitch p {
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.benefits-list {
  list-style: none;
  margin-top: 2rem;
}

.benefits-list li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.8rem;
  color: rgba(255,255,255,0.9);
}

.benefits-list li::before {
  content: "✓";
  color: #0066cc;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Right Column - Form */
.contact-form-wrapper {
  background: transparent;
  border-radius: 8px;
  padding: 2rem;
  backdrop-filter: blur(5px);
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form Interactions */
.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
  top: -0.8rem;
  left: 0.8rem;
  font-size: 0.8rem;
  background: #111;
  padding: 0 0.3rem;
  color: #0066cc;
}

.submit-btn {
  display: block;
  width: 100%;
  background: #0066cc;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: #0055aa;
  transform: translateY(-2px);
}

/* About Hero Section */
.about-hero {
  background: #000;
  color: white;
  padding: 6rem 2rem;
}

.about-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.about-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.about-hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
}

.about-hero-cta {
  display: inline-block;
  background: #0066cc;
  color: white !important;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-hero-cta:hover {
  background: #0055aa;
  transform: translateY(-2px);
}

/* Values Section */
.values-section {
  padding: 5rem 2rem;
  background: #111;
  color: white;
  text-align: center;
}

.values-container {
  max-width: 1200px;
  margin: 0 auto;
}

.values-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.values-subheading {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Values Grid - 3x2 Layout */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-card:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-5px);
  background: rgba(255,255,255,0.08);
}

.value-icon {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  min-height: 2.8em; /* Ensures consistent heading height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card p {
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  flex-grow: 1; /* Ensures equal height distribution */
  margin: 0;
}

/* Mission & Vision Section */
.mission-vision {
  padding: 5rem 2rem;
  background: #000;
}

.mv-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mv-box {
  padding: 3rem;
  border-radius: 4px;
}

.mission-box {
  background: rgba(0,102,204,0.1);
  border: 1px solid rgba(0,102,204,0.3);
}

.vision-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.mv-box h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: white;
}

.mv-box p {
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

/* Services Hero Section */
/* ===== SERVICES PAGE SECTION ===== */
.services-page-section {
  padding: 5rem 2rem;
  background: #111;
}

.services-page-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.services-page-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.services-page-item:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-5px);
}

.services-page-icon {
  font-size: 2.5rem;
  color: #0066cc;
  margin-bottom: 1.5rem;
}

.services-page-item h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: white;
}

.services-page-item p {
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* Detailed Services Section */
.detailed-services {
    background: #000;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
    align-items: center;
}

.service-row.reverse {
    direction: rtl;
}

.service-row.reverse > * {
    direction: ltr;
}

.service-image {
    height: 80%;
    overflow: hidden;
}

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

.service-content {
    padding: 4rem;
    color: white;
}

.service-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.service-content p {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Alternating Background Colors for Rows */
.service-row:nth-child(odd) .service-content {
    background: #111;
}

.service-row:nth-child(even) .service-content {
    background: #000;
}

/* Portfolio Hero */
.portfolio-hero {
    background: #000;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.portfolio-hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.portfolio-hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Portfolio Categories */
.portfolio-categories {
    padding: 3rem 2rem;
    background: #111;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-category {
    margin-bottom: 4rem;
}

.portfolio-category h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0066cc;
    display: inline-block;
}

/* Dynamic Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(00px, 1fr));
    gap: 1.5rem;
}

/* Social Media Specific Grid (1080x1350 aspect ratio) */
.social-media-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.social-media-grid .portfolio-item {
    aspect-ratio: 1080/1350; /* Instagram portrait ratio */
}

/* Hoardings Grid (Landscape) */
.hoardings-grid .portfolio-item {
    aspect-ratio: 16/9;
}

/* Banners Grid (Wide) */
.banners-grid .portfolio-item {
    aspect-ratio: 16/9;
}

/* Stationery Grid (Mixed) */
.stationery-grid .portfolio-item {
    aspect-ratio: 1/1.414; /* A4 paper ratio */
}

/* Portfolio Items */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

/* Lightbox Modal (Optional) */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox.active {
    display: flex;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .about-story-container {
    grid-template-columns: 1fr;
  }
  
  .about-hero-heading {
    font-size: 2.2rem;
  }

  .about-hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-hero-image {
    order: -1; /* Image on top for mobile */
  }
  
  .about-hero-image img {
    height: 300px;
  }
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-heading {
    font-size: 2rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-pitch h2 {
    font-size: 2rem;
  }
  
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

@media (max-width: 1024px) {
    .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
  }

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

@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
      grid-template-columns: 1fr; /* 1 column on mobile */
      max-width: 400px;
      margin: 0 auto;
    }
    
    .service-item {
      min-height: 300px;
      padding: 1.5rem;
    }
    
    .service-icon {
      font-size: 2.2rem;
    }
    
    .service-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .service-row.reverse {
        direction: ltr;
    }
    
    .service-content {
        padding: 2rem;
    }
    
    .service-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .portfolio-hero h1 {
        font-size: 2.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .social-media-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-category h4 {
        font-size: 1.5rem;
    }

    .values-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .values-heading {
    font-size: 2rem;
  }
  
  .value-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
  nav a { display: block; margin: 10px 0; }
}

@media (max-width: 768px) {
    header {
      flex-direction: column;
      padding: 1rem;
    }
    .logo {
      margin-bottom: 1rem;
    }
    nav a {
      display: inline-block; /* Keep links horizontal */
      margin: 0 10px; /* Reduce spacing on small screens */
    }
    nav-button {
        display: inline-block; /* Ensure button stays inline */
        margin-top: 10px; /* Add space if stacked vertically */
      }

      .hero {
        padding-top: 60px; /* Smaller gap on mobile */
        min-height: calc(100vh - 60px);
      }
      
      .hero-content {
        padding-left: 1rem; /* Matches mobile logo padding */
        gap: 1rem; /* Tighter spacing on mobile */
      }
      
      .hero h1 {
        font-size: 2.2rem;
      }
      
      .hero p {
        font-size: 1rem;
      }
      
      .cta-button {
        padding: 10px 24px;
      }

      .about-subheading {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        max-width: 100%;
      }

      .services-grid {
        grid-template-columns: 1fr;
      }

      .service-card {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle white border */
        border-radius: 1px; /* Sharp 1px radius */
        padding: 2rem;
        backdrop-filter: blur(10px); /* Optional glass effect */
        transition: all 0.3s ease;
      }

      .service-card:hover {
        border-color: rgba(255, 255, 255, 0.5); /* Brighter border on hover */
        background: rgba(255, 255, 255, 0.05); /* Slight highlight */
      }

      /* Text Colors for Dark Theme */
      .service-card h3 {
        color: white;
        margin: 1.5rem 0 1rem 0;
      }

      .service-card p {
        color: rgba(255, 255, 255, 0.7);
      }

      .service-cta {
        background: transparent;
        border: 1px solid white;
        color: white !important;
      }

      .service-cta:hover {
        background: white;
        color: #111 !important;
      }

      .cta-banner {
        padding: 3rem 1.5rem;
      }
      
      .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
      }

      @media (max-width: 1024px) {
         .hero-container {
          flex-direction: column;
          text-align: center;
          gap: 2rem;
          height: auto;
          min-height: calc(100vh - 80px);
        }
        
        .hero-content {
          padding-left: 0;
          order: 2;
        }
        
        .hero-video {
          order: 1;
          justify-content: center;
          padding-right: 0;
        }
        
        .hero-video video {
          max-height: 400px;
        }
        
        .hero p {
          width: 100%;
          max-width: 500px;
          margin: 40px auto;
        }
      }

      .portfolio-grid {
        grid-template-columns: 1fr;
      }
      
      .section-header h2 {
        font-size: 2rem;
      }

      .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
      
      .footer-left,
      .footer-right {
        text-align: center;
      }
      
      .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
      }
      
      .footer-right h3::after {
        right: 50%;
        transform: translateX(50%);
      }
      
      .footer-logo {
        margin-top: 2rem;
      }
      
  }

  /* ===== RESPONSIVE IMAGE FIXES ===== */
/* Applies to ALL images on ALL pages */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Services page specific fixes */
.service-image img,
.service-row img,
.services-page-item img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

/* About page hero image fix */
.about-hero-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Portfolio page fixes */
.portfolio-link img,
.portfolio-item img,
.portfolio-thumbnail img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Mobile-specific fixes */
@media screen and (max-width: 768px) {
    /* Force ALL containers to stay within screen */
    .service-row,
    .about-hero-container,
    .services-page-grid,
    .portfolio-grid {
        max-width: 100vw !important;
        overflow: hidden !important;
    }
    
    /* Remove any large fixed margins on mobile */
    .hero-video {
        margin-left: 0 !important;
        max-width: 100% !important;
    }
    
    /* Specifically target your 2816px images */
    .service-row img,
    .about-hero-image img {
        width: 100% !important;
        max-width: 100vw !important;
        height: auto !important;
    }
}


/* ===== MOBILE NUCLEAR OVERFLOW FIX ===== */
@media screen and (max-width: 768px) {
    /* STEP 1: Lock the entire viewport */
    html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100vw !important;
        position: relative !important;
    }
    
    body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        max-width: 100vw !important;
        width: 100% !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* STEP 2: Force ALL containers to stay within bounds */
    body > *:not(script):not(style) {
        max-width: 100vw !important;
        width: 100% !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        position: relative !important;
    }
    
    /* STEP 3: Specifically target problematic sections */
    .hero-container,
    .about-container,
    .home-services-container,
    .portfolio-grid,
    .footer-container,
    .service-row,
    .about-hero-container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* STEP 4: The absolute image fix */
    img, video, iframe, embed, object {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* STEP 5: Kill any transform/translate that could cause offset */
    * {
        transform: none !important;
        translate: none !important;
    }
}

/* ===== MOBILE NAVIGATION ===== */
@media screen and (max-width: 768px) {
    /* Hide the regular navigation on mobile */
    nav {
        display: none;
    }
    
    /* Create hamburger menu button */
    .menu-toggle {
        display: block !important;
        background: none;
        border: none;
        color: white;
        font-size: 28px;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 20px;
        z-index: 1000;
    }
    
    /* Mobile menu overlay */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        z-index: 999;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-menu.active {
        display: flex;
    }
    
    .mobile-menu a {
        color: white;
        text-decoration: none;
        font-size: 1.5rem;
        margin: 15px 0;
        padding: 10px 20px;
    }
    
    /* Show hamburger icon */
    .hamburger-icon {
        display: block;
        width: 30px;
        height: 3px;
        background: white;
        margin: 6px 0;
    }
}

/* ===== MOBILE SERVICES LAYOUT ===== */
@media screen and (max-width: 768px) {
    /* Stack services vertically */
    .home-services-grid,
    .services-page-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .home-service-card,
    .services-page-item {
        min-height: auto !important;
        padding: 1.5rem !important;
    }
    
    /* Fix text cut-off */
    .home-service-card h3,
    .services-page-item h3 {
        font-size: 1.2rem !important;
        min-height: auto !important;
        margin-bottom: 0.8rem !important;
    }
    
    .home-service-card p,
    .services-page-item p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
}

/* ===== MOBILE ABOUT PAGE FIX ===== */
@media screen and (max-width: 768px) {
    /* Stack the two columns */
    .about-container,
    .about-hero-container,
    .mv-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 15px !important;
    }
    
    /* Fix vision/mission section */
    .mission-box,
    .vision-box {
        margin-bottom: 20px !important;
        padding: 1.5rem !important;
    }
    
    /* Ensure text isn't cut off */
    .about-description,
    .mv-box p {
        padding-right: 0 !important;
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    /* Adjust headings */
    .about-subheading {
        font-size: 1.8rem !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }
}

/* ===== HAMBURGER MENU FORCE FIX ===== */
/* Ensure hamburger is HIDDEN on desktop */
.menu-toggle,
.mobile-menu {
    display: none !important;
}

/* Force hamburger to SHOW on mobile */
@media screen and (max-width: 768px) {
    /* HIDE the regular navigation */
    nav {
        display: none !important;
    }
    
    /* SHOW the hamburger button */
    .menu-toggle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        right: 20px !important;
        top: 30px !important;
        z-index: 1001 !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    .hamburger-icon {
        display: block !important;
        width: 30px !important;
        height: 3px !important;
        background: white !important;
        margin: 6px 0 !important;
        border-radius: 2px !important;
    }
    
    /* Mobile menu styling */
    .mobile-menu {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.98) !important;
        z-index: 1000 !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .mobile-menu.active {
        display: flex !important;
    }
    
    .mobile-menu a {
        color: white !important;
        text-decoration: none !important;
        font-size: 1.8rem !important;
        margin: 20px 0 !important;
        padding: 15px 40px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        width: 80% !important;
        text-align: center !important;
    }
}

/* ===== THINKPAD HOMEPAGE FIX (1024px-1400px) ===== */
@media screen and (min-width: 1024px) and (max-width: 1400px) {
    /* Lock homepage viewport */
    body.home-page {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100vw !important;
    }
    
    /* Fix hero video container - common culprit */
    .hero-video {
        max-width: 50% !important;
        margin-left: 0 !important;
        padding-right: 20px !important;
    }
    
    .hero-container {
        max-width: 95vw !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    /* Fix portfolio grid on homepage */
    .home-services-grid,
    .portfolio-grid {
        max-width: 100% !important;
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columns instead of 3 */
        padding: 0 15px !important;
    }
    
    /* Ensure no element exceeds screen */
    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
}