

:root {
  --primary: #212121;
  --secondary: #2d2d2d;
  --light-grey: #f8f8f8;
  --medium-grey: #7a7a7a;
  --border-grey: #e8e8e8;
  --accent-blue: #0066cc;
  --accent-blue-light: #e6f0ff;
  --accent-blue-dark: #004d99;
  --white: #ffffff;
  --black: #000000;
  --border-radius: 4px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--white);
  color: var(--primary);
  line-height: 1.8;
  letter-spacing: 0;
  overflow-x: hidden;
  min-width: 320px;
  background: rgba(236, 230, 230, 0.95);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
}

h1 {
  font-size: 3.7rem;
  font-weight: 800;
  letter-spacing: -1px;
}

h2 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 1.8rem;
  font-weight: 600;
}

p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes countUp {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.navbar {
  background: rgba(236, 230, 230, 0.95);
  backdrop-filter: blur(10px);
  color: var(--primary);
  padding: 0.4rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(232, 232, 232, 0.5);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.navbar-brand-section:hover {
  transform: translateY(-2px);
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.logo-box {
  display: none;
}

.logo-box:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.logo-image-direct {
  width: 150px;
  height: auto;
  object-fit: contain;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  flex-shrink: 0;
  background: transparent;
}

.brand-name-vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}

.brand-line {
  font-family: Montserrat;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary);
  line-height: 1.1;
}

.brand-line:first-child {
  font-size: 1.5rem;
  font-weight: 700;
}

.brand-line:nth-child(2) {
  color: var(--accent-blue);
  font-style: Montserrat;
  font-weight: 700;
}

.brand-line:last-child {
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--accent-blue);
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
  font-family: 'Montserrat', sans-serif;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.company-name {
  display: none;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 1000;
}

.hamburger-menu span {
  width: 25px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
}

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

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

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

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links li a {
  color: var(--dark-grey);
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 400;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: var(--accent-blue);
}

.nav-links li a:hover::after {
  width: 100%;
}

.hero-fullscreen {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: rgb(246, 238, 238);
  background: linear-gradient(135deg, #f8f8f8 0%, #efefef 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  animation: zoomInSlow 20s ease-in-out infinite;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.5) 0%, rgba(45, 45, 45, 0.6) 100%);
  z-index: 2;
}

@keyframes zoomInSlow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.hero-content-large {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 900px;
  margin-left: clamp(1rem, 6vw, 6rem);
  margin-right: auto;
  padding: 1.5rem;
  animation: fadeInUp 1s ease 0.3s both;
}

p.hero-title {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 0;
  letter-spacing: 0.5px;
  line-height: 0.25;
  font-family: 'Montserrat', serif;
}

h1.hero-title {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  line-height: 1.3;
  font-family: Montserrat;
  animation: fadeInUp 0.8s ease 0.4s both;
  text-transform: uppercase;
}

h2.hero-title {
  font-size: 3.0rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  line-height: 1.6;
  font-family: 'Segoe Print', serif;
  animation: fadeInUp 0.8s ease 0.4s both;
  text-transform: lowercase;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.6;
  font-family: 'Poppins', serif;
  animation: fadeInUp 0.8s ease 0.6s both;
  text-transform: uppercase;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.cta-button {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.cta-primary {
  background: var(--accent-blue);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.cta-primary:hover {
  background: white;
  transform: translateY(-3px);
  color: var(--accent-blue);
  box-shadow: 0 6px 20px rgba(118, 162, 206, 0.4);
}

.cta-secondary {
  background: var(--accent-blue);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.cta-secondary:hover {
  background: white;
  color: var(--accent-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(118, 162, 206, 0.4);
}

.container {
  width: 100%;
  margin: 0;
  padding: 0 clamp(1rem, 4vw, 4rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-size: 2.7rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1rem;
  font-family: Montserrat;
  animation: fadeInUp 0.8s ease;
}

.section-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  text-align: center;
  color: var(--medium-grey);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-content {
  padding: 2rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.card-description {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--medium-grey);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  color: var(--accent-blue);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home-portfolio-section,
.home-portfolio-section h2,
.home-portfolio-section h3,
.home-portfolio-section p,
.home-portfolio-section span {
  font-family: Montserrat;
}

.home-project-card {
  display: block;
  color: inherit;
}

.home-project-card:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 4px;
}

.home-project-card .card-title {
  font-family: Montserrat;
}

.home-project-card:hover .card-title {
  color: var(--accent-blue);
}

.portfolio-hero {
  min-height: 42vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem clamp(1rem, 4vw, 4rem);
  color: white;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.78), rgba(10, 10, 10, 0.32)), url('portfolio/arch2.jpg');
  background-size: cover;
  background-position: center;
}

.portfolio-hero h1 {
  max-width: 760px;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-family: Montserrat;
}

.portfolio-hero p {
  max-width: 680px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
}

.portfolio-section {
  background: var(--white);
}

.portfolio-filters {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.portfolio-filter {
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--border-grey);
  border-radius: var(--border-radius);
  background: var(--white);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.portfolio-filter:hover,
.portfolio-filter.active {
  border-color: var(--accent-blue);
  background: var(--accent-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  width: 100%;
  border: 1px solid var(--border-grey);
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: block;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.portfolio-card:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 4px;
}

.portfolio-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  font-family: Montserrat;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.portfolio-content p {
  margin-bottom: 1.25rem;
  color: var(--medium-grey);
  line-height: 1.65;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--accent-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.featured-services {
  background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.services-grid, .services-grid-large {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.services-grid-large {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: block;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card-featured {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease;
  text-decoration: none;
  display: block;
  color: inherit;
}

.service-card-featured:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f8f8 0%, #efefef 100%);
}

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

.service-card-featured:hover .service-image img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card-featured:hover .service-overlay {
  opacity: 1;
}

.service-icon-large {
  font-size: 3rem;
  animation: float 3s ease-in-out infinite;
}

.service-info {
  padding: 2rem;
}

.service-title {
  font-size: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 500;
}

.service-description {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--medium-grey);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 6rem 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
  margin: 0;
}

.stat-item {
  text-align: center;
  animation: fadeInUp 0.8s ease;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
  color: var(--accent-blue);
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- New Image-Style CTA Section --- */
.cta-section-new {
  background: transparent !important; /* Ye body ka grey color show karega */
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
}

.cta-card {
  background: #ffffff;
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 3rem;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); /* Soft shadow jaisa image mein hai */
  text-align: center;
}

.cta-card h2 {
  font-family: Montserrat;
  font-size: 2.5rem;
  font-weight: 300; /* Thin font jaisa image mein hai */
  color: #2d2d2d;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.cta-card p {
  font-family: Montserrat;
  font-size: 1.1rem;
  color: #666666;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.cta-btn-dark {
  display: inline-block;
  background: #6b6b6b; /* Image wala exact grey button */
  color: #ffffff;
  padding: 0.9rem 2.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 4px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
}

.cta-btn-dark:hover {
  background: #4a4a4a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Screens ke liye adjustment */
@media (max-width: 768px) {
  .cta-card {
    padding: 3rem 1.5rem;
  }
  .cta-card h2 {
    font-size: 2rem;
  }
  .cta-card p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  color: inherit;
}

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

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(68, 66, 66, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-category {
  color: white;
  font-weight: 500;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-family: Montserrat;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.project-info p {
  color: var(--medium-grey);
}

.footer {
  background: var(--primary);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  width: 100%;
  margin: 0;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--accent-blue);
  letter-spacing: 0.5px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: var(--accent-blue);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  text-decoration: none;
  color: white;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--accent-blue);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  transition: 0.3s;
  animation: float 2s infinite;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.contact-page {
  padding: 4rem 2rem;
  background: var(--light-grey);
}

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

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(82, 81, 81, 0.1);
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h2 {
  font-family: inherit !important;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--medium-grey);
  font-size: 0.95rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--primary);
  font-family: inherit !important;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  padding: 0.85rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s;
  background: #f5f5f5;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.5;
}

.submit-btn {
  padding: 1rem 2rem;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
  background: var(--accent-blue-dark);
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.info-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-family: inherit !important;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.info-card p {
  color: var(--medium-grey);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.25rem;
}

.info-card p a {
  color: var(--accent-blue);
  font-weight: 500;
}

.info-card p a:hover {
  text-decoration: underline;
}

.info-card p.secondary {
  color: var(--medium-grey);
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }

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

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

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

@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
    gap: 1.5rem;
    z-index: 99;
  }

  .nav-links.active {
    left: 0;
  }

  .navbar-brand-section {
    gap: 0.8rem;
  }

  .logo-box {
    width: 70px;
    height: 70px;
  }

  .brand-line {
    font-size: 1.1rem;
  }

  .brand-line:first-child {
    font-size: 1.3rem;
  }

  .brand-line:last-child {
    font-size: 1.2rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

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

  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-grid-large {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  section {
    padding: 3rem 0;
  }

  .footer-sections {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    padding: 2rem;
  }

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

@media (max-width: 480px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .logo-box {
    width: 60px;
    height: 60px;
  }

  .brand-line {
    font-size: 0.95rem;
  }

  .brand-line:first-child {
    font-size: 1.1rem;
  }

  .brand-line:last-child {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

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

  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 2rem 0;
  }

  .stat-number {
    font-size: 2rem;
  }

  .contact-page {
    padding: 2rem 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-header h2 {
    font-size: 1.4rem;
  }

  .contact-form form {
    gap: 1rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 16px;
  }

  .submit-btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }

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

  .info-card {
    padding: 1.5rem;
  }

  .card-icon {
    font-size: 2rem;
  }

  .info-card h3 {
    font-size: 1.1rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--accent-blue);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Modal Styles */
#project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#project-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.modal-close:hover {
  transform: scale(1.1);
  background: var(--light-grey);
}

.modal-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.modal-body {
  padding: 2rem;
}

.modal-category {
  display: inline-block;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.modal-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--medium-grey);
  margin-bottom: 1.5rem;
}

.modal-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.modal-meta span {
  font-size: 1rem;
  color: var(--medium-grey);
  font-weight: 500;
}

/* Service Detail Styles */
.back-to-services {
  display: inline-flex;
  align-items: center;
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.back-to-services:hover {
  color: var(--accent-blue-dark);
  transform: translateX(-5px);
}

.service-detail-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.service-detail-image {
  position: relative;
  height: 400px;
}

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

.service-detail-icon {
  position: absolute;
  bottom: -40px;
  left: 2rem;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: var(--shadow-lg);
}

.service-detail-body {
  padding: 3rem 2rem 2rem;
}

.service-detail-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.service-detail-description {
  font-size: 1.3rem;
  color: var(--medium-grey);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-detail-text {
  font-size: 1.1rem;
  color: var(--medium-grey);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .service-detail-title {
    font-size: 2rem;
  }
  .service-detail-image {
    height: 250px;
  }
  .service-detail-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
    bottom: -30px;
  }
  .service-detail-body {
    padding-top: 2.5rem;
  }
}

/* Project Detail Styles */
.back-to-portfolio {
  display: inline-flex;
  align-items: center;
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.back-to-portfolio:hover {
  color: var(--accent-blue-dark);
  transform: translateX(-5px);
}

.project-detail-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.project-detail-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.project-detail-body {
  padding: 2.5rem;
}

.project-detail-category {
  display: inline-block;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.project-detail-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.project-detail-description {
  font-size: 1.2rem;
  color: var(--medium-grey);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.project-detail-meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.project-detail-meta span {
  font-size: 1rem;
  color: var(--medium-grey);
  font-weight: 500;
}

@media (max-width: 768px) {
  .project-detail-title {
    font-size: 2rem;
  }
  .project-detail-image {
    height: 280px;
  }
  .project-detail-body {
    padding: 1.5rem;
  }
}
html {
  scroll-behavior: smooth;
}
/* --- Global Background Fix --- */

/* 1. Body ka background fix karna */
body {
  background-color: #ece6e6 !important; /* Navbar matching solid colour */
}

/* 2. Scroll karne par Navbar ka colour bhi same rakhna */
.navbar.scrolled {
  background: rgba(236, 230, 230, 0.98) !important;
}

/* 3. Sabhi white aur grey sections ko transparent banana taaki body ka background dikhe */
.portfolio-section,
.contact-page,
.featured-services {
  background: transparent !important;
}

/* 4. HTML mein jo inline white/grey background hain unhe override karna */
section[style*="background: white"],
section[style*="background: var(--light-grey)"] {
  background: transparent !important;
}