:root {
	 --red:#d20c0c;
  --red-dark:#8b0000;
  --red-light:#ff4d4d;
  --red-pale:#fff2f2;
	--white: #FFFFFF;
	--offwhite: #FDF7F8;
	--gray: #6B7280;
	--dark: #1A0508;
	--border: #FADADD;
}

.hero {
	min-height: 100vh;
	background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 45%, var(--red-light) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	padding-top: 72px;
}

.hero-blob {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	filter: blur(60px);
}

.hero-blob-1 {
	width: 500px;
	height: 500px;
	top: -100px;
	right: -100px;
}

.hero-blob-2 {
	width: 300px;
	height: 300px;
	bottom: 50px;
	left: -50px;
}

.hero-content {
	position: relative;
	text-align: center;
	max-width: 860px;
	padding: 0 24px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: white;
	padding: 6px 18px;
	border-radius: 100px;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	margin-bottom: 28px;
	text-transform: uppercase;
}

.hero-badge-dot {
	width: 7px;
	height: 7px;
	background: #4ADE80;
	border-radius: 50%;
	animation: pulse 2s infinite;
}

@keyframes pulse {

	0%,
	100% {
		opacity: 1;
		transform: scale(1)
	}

	50% {
		opacity: 0.6;
		transform: scale(1.3)
	}
}

.hero h1 {
	font-family: 'Playfair Display', serif;
	/* font-size: clamp(2.8rem, 6vw, 5rem); */
	font-size: 4.5rem;
	color: white;
	line-height: 1.1;
	font-weight: 800;
	margin-bottom: 24px;
}

.hero h1 span {
	color: rgba(255, 255, 255, 0.55);
}

.hero p {
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.7;
	margin-bottom: 44px;
	max-width: 750px;
	margin-left: auto;
	margin-right: auto;
}

.hero-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn-white {
	background: white;
	color: var(--red);
	padding: 14px 32px;
	border-radius: 10px;
	font-weight: 700;
	text-decoration: none;
	font-size: 0.95rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
	background: transparent;
	color: white;
	border: 2px solid rgba(255, 255, 255, 0.5);
	padding: 14px 32px;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.95rem;
}

/* Pillar tabs */
.pillar-tabs{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:52px;}
.pillar-tab{background:rgba(255,255,255,0.13);border:1px solid rgba(255,255,255,0.25);border-radius:12px;padding:14px 28px;text-align:center;color:white;cursor:default;}
.pillar-tab strong{display:block;font-size:1rem;font-weight:800;margin-bottom:3px;}
.pillar-tab span{font-size:0.76rem;color:rgba(255,255,255,0.65);font-weight:500;}

.stats-bar {
	background: var(--dark);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.stat-item {
	padding: 36px 24px;
	text-align: center;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
	border-right: none;
}

.stat-num {
	font-size: 2.6rem;
	font-weight: 900;
	color: var(--red);
	line-height: 1;
}

.stat-label {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.55);
	margin-top: 6px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

section {
	padding: 100px 60px;
}

.section-tag {
	display: inline-block;
	background: var(--red-pale);
	color: var(--red);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 100px;
	margin-bottom: 16px;
}

h2 {
	font-family: 'Playfair Display', serif;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	color: var(--dark);
	line-height: 1.2;
	margin-bottom: 20px;
}

h2 span {
	color: var(--red);
}

.section-sub {
	font-size: 1.05rem;
	color: var(--gray);
	line-height: 1.7;
	max-width: 560px;
}

.section-header {
	text-align: center;
	margin-bottom: 64px;
}

.section-header .section-sub {
	margin: 0 auto;
}

.divider {
	width: 60px;
	height: 4px;
	background: var(--red);
	border-radius: 2px;
	margin: 20px auto 0;
}

#services {
	background: var(--offwhite);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.service-card {
	background: white;
	border-radius: 20px;
	padding: 40px 36px;
	border: 1px solid var(--border);
	transition: transform 0.25s, box-shadow 0.25s;
	position: relative;
	overflow: hidden;
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--red), var(--red-light));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s;
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 50px rgba(200, 16, 46, 0.12);
}

.service-card:hover::before {
	transform: scaleX(1);
}

.service-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--red-pale);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	font-size: 1.6rem;
}

.service-card h3 {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.service-card p {
	font-size: 0.9rem;
	color: var(--gray);
	line-height: 1.65;
}

.service-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.tag {
	background: var(--red-pale);
	color: var(--red);
	font-size: 0.72rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 100px;
	letter-spacing: 0.3px;
}

/* Pillar Deep Dive */
#pillars{background:white;}
.pillar-block{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;margin-bottom:80px;padding-bottom:80px;border-bottom:1px solid var(--border);}
.pillar-block:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0;}
.pillar-block.reverse{direction:rtl;}
.pillar-block.reverse > *{direction:ltr;}
.pillar-visual{border-radius:20px;background:linear-gradient(135deg,var(--red-dark),var(--red));padding:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:340px;position:relative;overflow:hidden;}
.pillar-visual::before{content:'';position:absolute;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,0.05);top:-80px;right:-80px;}
.pillar-visual-icon{font-size:3.5rem;margin-bottom:16px;position:relative;z-index:1;}
.pillar-visual h3{font-family:'Playfair Display',serif;font-size:1.8rem;font-weight:800;color:white;margin-bottom:10px;position:relative;z-index:1;}
.pillar-visual p{font-size:0.88rem;color:rgba(255,255,255,0.72);line-height:1.6;max-width:260px;position:relative;z-index:1;}
.pillar-visual .pillar-label{display:inline-block;background:rgba(255,255,255,0.18);border:1px solid rgba(255,255,255,0.3);color:white;padding:4px 14px;border-radius:100px;font-size:0.72rem;font-weight:700;letter-spacing:1px;text-transform:uppercase;margin-bottom:18px;position:relative;z-index:1;}
.pillar-content .section-tag{display:block;width:fit-content;}
.pillar-content h2{font-size:clamp(1.7rem,3vw,2.5rem);margin-top:8px;}
.pillar-content .section-sub{max-width:100%;margin-bottom:28px;}
.pillar-checklist{list-style:none;display:flex;flex-direction:column;gap:12px;}
.pillar-checklist li{display:flex;align-items:flex-start;gap:12px;font-size:0.9rem;color:var(--dark);line-height:1.5;}
.check-icon{width:22px;height:22px;background:var(--red-pale);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px;}
.check-icon::after{content:'✓';color:var(--red);font-size:0.7rem;font-weight:700;}

#tech {
	background: white;
}

.tech-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 20px;
}

.tech-chip {
	border: 1.5px solid var(--border);
	border-radius: 14px;
	padding: 20px 16px;
	text-align: center;
	transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.tech-chip:hover {
	border-color: var(--red);
	background: var(--red-pale);
	transform: translateY(-3px);
}

.tech-chip .tech-icon {
	font-size: 2rem;
	margin-bottom: 8px;
	display: block;
}

.tech-chip span {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--dark);
}

#portfolio {
	background: var(--offwhite);
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.project-card {
	background: white;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid var(--border);
	transition: transform 0.25s, box-shadow 0.25s;
	position: relative;
}

.project-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 50px rgba(200, 16, 46, 0.14);
}

.project-preview {
	height: 180px;
	position: relative;
	overflow: hidden;
}

.project-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
	transition: transform 0.4s;
}

.project-card:hover .project-preview img {
	transform: scale(1.05);
}

.project-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--red);
	color: white;
	font-size: 0.68rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 100px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	z-index: 2;
}

.project-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent 30%, rgba(155, 11, 34, 0.92) 100%);
	opacity: 0;
	transition: opacity 0.3s;
	display: flex;
	align-items: flex-end;
	padding: 14px;
	z-index: 1;
}

.project-card:hover .project-overlay {
	opacity: 1;
}

.project-overlay a {
	color: white;
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
}

.project-info {
	padding: 18px;
}

.project-info h3 {
	font-size: 0.92rem;
	font-weight: 700;
	margin-bottom: 4px;
}

.project-info p {
	font-size: 0.76rem;
	color: var(--gray);
	line-height: 1.5;
}

.project-meta {
	display: flex;
	gap: 6px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.project-url {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 0.72rem;
	color: var(--red);
	margin-top: 8px;
	text-decoration: none;
	font-weight: 600;
}

.img-placeholder {
	width:100%;
	height:100%;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:2.5rem;
	position:relative;
}

.img-placeholder::after {
	content:'[ Client Screenshot ]';
	position:absolute;
	bottom:10px;left:0;right:0;
	text-align:center;
	font-size:0.65rem;
	font-weight:600;
	color:rgba(255,255,255,0.7);
	letter-spacing:0.5px;
	font-family:'Inter',sans-serif;}

#team {
	background: white;
}

.team-intro {
	background: var(--red-pale);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 40px;
	margin-bottom: 56px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 28px;
}

.dept-block {
	text-align: center;
}

.dept-icon {
	font-size: 2.5rem;
	margin-bottom: 12px;
}

.dept-block h3 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--dark);
	margin-bottom: 8px;
}

.dept-block p {
	font-size: 0.85rem;
	color: var(--gray);
	line-height: 1.6;
}

.dept-count {
	display: inline-block;
	background: var(--red);
	color: white;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 3px 12px;
	border-radius: 100px;
	margin-top: 10px;
}

.team-roles-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}

.role-card {
	background: white;
	border-radius: 18px;
	padding: 24px 18px;
	border: 1.5px solid var(--border);
	text-align: center;
	transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.role-card:hover {
	transform: translateY(-5px);
	border-color: var(--red);
	box-shadow: 0 16px 40px rgba(200, 16, 46, 0.1);
}

.role-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	margin: 0 auto 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.7rem;
	background: linear-gradient(135deg, #FFF0F2, #FADADD);
}

.role-card .role {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--dark);
	margin-bottom: 6px;
}

.role-card .dept-tag {
	display: inline-block;
	background: var(--red-pale);
	color: var(--red);
	font-size: 0.68rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 100px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 10px;
}

.role-skills {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	justify-content: center;
}

.skill-pill {
	background: #f4f4f4;
	color: #555;
	font-size: 0.62rem;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: 100px;
}

#process {
	background: var(--offwhite);
}

.process-steps {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0;
	position: relative;
}

.process-steps::before {
	content: '';
	position: absolute;
	top: 40px;
	left: calc(8.33% + 20px);
	right: calc(8.33% + 20px);
	height: 2px;
	background: linear-gradient(90deg, var(--red), var(--red-light));
	z-index: 0;
}

.process-step {
	text-align: center;
	padding: 0 12px;
	position: relative;
}

.step-num {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #f7efef;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	margin: 0 auto 16px;
	position: relative;
	z-index: 1;
	box-shadow: 0 4px 20px rgba(200, 16, 46, 0.3);
}

.process-step h3 {
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.process-step p {
	font-size: 0.75rem;
	color: var(--gray);
	line-height: 1.5;
}

#why {
	background: var(--red);
}

#why .section-tag {
	background: rgba(255, 255, 255, 0.15);
	color: white;
}

#why h2 {
	color: white;
}

#why h2 span {
	color: rgba(255, 255, 255, 0.5);
}

#why .section-sub {
	color: rgba(255, 255, 255, 0.75);
}

.why-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.why-card {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	padding: 36px 30px;
}

.why-icon {
	font-size: 2rem;
	margin-bottom: 16px;
	width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff, #ffe9e9);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .15);
}

.why-card h3 {
	font-size: 1.1rem;
	font-weight: 700;
	color: white;
	margin-bottom: 10px;
}

.why-card p {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.65;
}

#testimonials {
	background: var(--offwhite);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.testimonial-card {
	background: white;
	border-radius: 20px;
	padding: 36px;
	border: 1px solid var(--border);
}

.stars {
	color: var(--red);
	font-size: 1rem;
	margin-bottom: 16px;
}

.testimonial-card blockquote {
	font-size: 0.92rem;
	color: var(--dark);
	line-height: 1.7;
	font-style: italic;
	margin-bottom: 24px;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 14px;
}

.author-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--red);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1rem;
}

.author-name {
	font-weight: 700;
	font-size: 0.9rem;
}

.author-title {
	font-size: 0.78rem;
	color: var(--gray);
}

#cta {
	background: linear-gradient(135deg, var(--dark), #3D0010);
	text-align: center;
	padding: 100px 60px;
}

#cta h2 {
	color: white;
	font-family: 'Playfair Display', serif;
	font-size: 2.8rem;
	margin-bottom: 20px;
}

#cta h2 span {
	color: var(--red-light);
}

#cta p {
	color: rgba(255, 255, 255, 0.65);
	font-size: 1.05rem;
	max-width: 520px;
	margin: 0 auto 40px;
	line-height: 1.7;
}

.cta-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

#calendlyBtn{
  border:none;
  cursor:pointer;
}

/* FAQ Section */
.faq-section{background:var(--offwhite);}
.faq-section .section-inner{max-width:1280px;margin:0 auto;}
.faq-list{max-width:860px;margin:2.5rem auto 0;}
.faq-item{border:1px solid var(--border);border-radius:14px;margin-bottom:12px;overflow:hidden;background:var(--white);}
.faq-q{padding:20px 26px;font-weight:700;font-size:.92rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;color:var(--dark);gap:12px;}
.faq-icon{width:28px;height:28px;background:var(--red-pale);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--red);font-size:1.2rem;font-weight:400;flex-shrink:0;transition:transform 0.3s;}
.faq-item.open .faq-icon{transform:rotate(45deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height 0.35s ease;}
.faq-item.open .faq-a{max-height:320px;}
.faq-a p{padding:0 26px 20px;color:var(--gray);line-height:1.75;font-size:.875rem;}

.faq-divider{text-align:center;margin:40px 0 24px;position:relative;}
.faq-divider::before{content:'';position:absolute;top:50%;left:0;right:0;height:1px;background:var(--border);}
.faq-divider span{position:relative;background:var(--offwhite);padding:0 16px;font-size:0.75rem;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--red);}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:1100px){

  section{
    padding:80px 40px;
  }

  .projects-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .process-steps{
    grid-template-columns:repeat(3,1fr);
    gap:40px 20px;
  }

  .process-steps::before{
    display:none;
  }
}

@media(max-width:992px){

  .services-grid,
  .why-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .testimonials-grid{
    grid-template-columns:1fr;
  }

  .stats-bar{
    grid-template-columns:repeat(2,1fr);
  }

  .hero h1{
    font-size:3rem;
  }
}

@media(max-width:768px){

  section{
    padding:70px 20px;
  }

  .hero{
    min-height:auto;
    padding:110px 20px 70px;
  }

  .hero h1{
    font-size:2.2rem;
    line-height:1.25;
  }

  .hero p{
    font-size:0.95rem;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:center;
  }

  .btn-white,
  .btn-outline-white{
    width:100%;
    max-width:300px;
    text-align:center;
  }

  .stats-bar,
  .services-grid,
  .projects-grid,
  .why-grid,
  .testimonials-grid,
  .process-steps{
    grid-template-columns:1fr;
  }

  .tech-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .process-steps{
    gap:30px;
  }

  h2{
    font-size:2rem;
  }

  #cta{
    padding:80px 20px;
  }

  #cta h2{
    font-size:2rem;
    line-height:1.3;
  }

  .cta-buttons{
    flex-direction:column;
    align-items:center;
  }
}

@media(max-width:480px){

  .hero h1{
    font-size:1.8rem;
  }

  .hero-badge{
    font-size:0.68rem;
    padding:6px 12px;
  }

  .stat-num{
    font-size:2rem;
  }

  .tech-grid{
    grid-template-columns:1fr;
  }

  .project-preview{
    height:180px;
  }

  .service-card,
  .project-card,
  .testimonial-card,
  .why-card{
    border-radius:16px;
  }
}

/* pakcging gallary */
.portfolio-gallery{
    width:min(1400px,92%);
    margin:70px auto;
    display:grid;
    grid-template-columns:repeat(12,1fr);
    gap:22px;
    grid-auto-rows:170px;
}

.gallery-item{
    overflow:hidden;
    border-radius:24px;
    position:relative;
    cursor:pointer;
    background:#fff;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
    transition:.45s;
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .8s ease;
}

.gallery-item:hover{
    transform:translateY(-10px);
    box-shadow:0 30px 80px rgba(0,0,0,.15);
}

.gallery-item:hover img{
    transform:scale(1.12);
}

/* Different Sizes */

.gallery-item:nth-child(1){
    grid-column:span 8;
    grid-row:span 3;
}

.gallery-item:nth-child(2){
    grid-column:span 4;
    grid-row:span 2;
}

.gallery-item:nth-child(3){
    grid-column:span 4;
    grid-row:span 1;
}

.gallery-item:nth-child(4){
    grid-column:span 4;
    grid-row:span 2;
}

.gallery-item:nth-child(5){
    grid-column:span 8;
    grid-row:span 2;
}

.gallery-item:nth-child(6),
.gallery-item:nth-child(7),
.gallery-item:nth-child(8){
    grid-column:span 4;
    grid-row:span 2;
}

.gallery-item:nth-child(9){
    grid-column:span 8;
    grid-row:span 2;
}

.gallery-item:nth-child(10){
    grid-column:span 4;
    grid-row:span 2;
}

.gallery-item:nth-child(11),
.gallery-item:nth-child(12){
    grid-column:span 6;
    grid-row:span 2;
}

.gallery-item:nth-child(13),
.gallery-item:nth-child(14),
.gallery-item:nth-child(15){
    grid-column:span 4;
    grid-row:span 2;
}

/* ===========================
   TABLETS (992px and below)
=========================== */

@media (max-width:992px){

    .portfolio-gallery{
        grid-template-columns:repeat(6,1fr);
        grid-auto-rows:160px;
        gap:18px;
    }

    .gallery-item:nth-child(1){
        grid-column:span 6;
        grid-row:span 2;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4){
        grid-column:span 3;
        grid-row:span 2;
    }

    .gallery-item:nth-child(5){
        grid-column:span 6;
        grid-row:span 2;
    }

    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7),
    .gallery-item:nth-child(8),
    .gallery-item:nth-child(9),
    .gallery-item:nth-child(10),
    .gallery-item:nth-child(11),
    .gallery-item:nth-child(12),
    .gallery-item:nth-child(13),
    .gallery-item:nth-child(14),
    .gallery-item:nth-child(15){
        grid-column:span 3;
        grid-row:span 2;
    }

}


/* ===========================
   MOBILE (768px and below)
=========================== */

@media (max-width:768px){

    .portfolio-gallery{

        grid-template-columns:repeat(2,1fr);

        grid-auto-rows:170px;

        gap:15px;

        width:94%;

    }

    .gallery-item:nth-child(1){

        grid-column:span 2;

        grid-row:span 2;

    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7),
    .gallery-item:nth-child(8),
    .gallery-item:nth-child(9),
    .gallery-item:nth-child(10),
    .gallery-item:nth-child(11),
    .gallery-item:nth-child(12),
    .gallery-item:nth-child(13),
    .gallery-item:nth-child(14),
    .gallery-item:nth-child(15){

        grid-column:span 1;

        grid-row:span 1;

    }

}


/* ===========================
   SMALL MOBILE (480px)
=========================== */

@media (max-width:480px){

    .portfolio-gallery{

        grid-template-columns:1fr;

        grid-auto-rows:auto;

        gap:18px;

    }

    .gallery-item{

        grid-column:span 1 !important;

        grid-row:span 1 !important;

        border-radius:18px;

    }

    .gallery-item img{

        aspect-ratio:4/3;

        height:auto;

        display:block;

    }

}