/* Global button rounding override */
button, .btn, .cta-primary, .contact-btn {
    border-radius: 50px !important;
}
/* Frontend Services - Page Styles */

/* Hero Section */
.hero-section {
	min-height: 60vh;
	background:
		radial-gradient(ellipse at top left, #ff4500 0%, transparent 60%),
		radial-gradient(ellipse at bottom right, #ff8c00 0%, transparent 60%),
		linear-gradient(135deg, #1a1a1a 0%, #2d1b0e 50%, #1a1a1a 100%);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 5% 0 5%;
	overflow: hidden;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="weave" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><rect width="20" height="20" fill="none"/><path d="M0 10h20M10 0v20" stroke="%23ff6b35" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23weave)"/></svg>');
	background-repeat: repeat;
	background-size: 20px 20px;
	opacity: 0.4;
	animation: geometricShift 15s ease-in-out infinite alternate;
}

@keyframes geometricShift {
	0% { transform: translateX(-2%) rotate(0.5deg); }
	100% { transform: translateX(2%) rotate(-0.5deg); }
}

.hero-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	width: 100%;
	gap: 4rem;
	z-index: 2;
	position: relative;
}

.hero-content { flex: 1; max-width: 600px; }

.hero-title {
	font-family: 'Cabin', sans-serif;
	font-size: clamp(3rem, 7vw, 5rem);
	font-weight: 800;
	color: white;
	line-height: 1.05;
	margin-bottom: 1rem;
}
.hero-title .word {
	display: inline-block;
	animation: titleReveal 0.9s ease-out forwards;
	opacity: 0;
	transform: translateY(40px);
}
.hero-title .word:nth-child(1) { animation-delay: 0.1s; }
.hero-title .word:nth-child(2) {
	animation-delay: 0.25s;
	background: linear-gradient(45deg, #ff6b35, #ff8c00, #ffa500);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
@keyframes titleReveal { to { opacity: 1; transform: translateY(0); } }

.hero-subtitle {
	font-family: 'Inter', sans-serif;
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
	margin-bottom: 2rem;
}

.hero-buttons { 
	display: flex; 
	gap: 1rem; 
	align-items: center; 
}

.hero-buttons .btn--primary {
	background: linear-gradient(135deg, var(--primary-color), #ff8c00);
	color: white;
	border: 2px solid var(--primary-color);
	padding: 12px 28px;
	border-radius: 5px;
	font-family: 'Inter', sans-serif;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.hero-buttons .btn--primary:hover {
	transform: translateY(-2px);
	background: linear-gradient(135deg, #d44d1c, #e67a00);
	box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.hero-buttons .btn--secondary {
	background: linear-gradient(135deg, var(--primary-color), #ff8c00);
	color: white;
	border: 2px solid var(--primary-color);
	padding: 12px 28px;
	border-radius: 5px;
	font-family: 'Inter', sans-serif;
	font-size: 1.1rem;
	font-weight: 600;
	text-decoration: none;
	position: relative;
	transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.hero-buttons .btn--secondary:hover {
	transform: translateY(-2px);
	background: linear-gradient(135deg, #d44d1c, #e67a00);
	box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}
.hero-image { flex: 0 0 360px; }

/* Statistics */
.statistics-section { padding: 4rem 2rem; }
.statistics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
	max-width: 1100px;
	margin: 0 auto;
}
.stat-card {
	background: var(--light-color);
	border: 1px solid #eee;
	border-radius: 16px;
	text-align: center;
	padding: 2rem 1rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.06); }
.stat-number { font-family: 'Cabin', sans-serif; font-size: 3rem; color: var(--primary-color); font-weight: 800; }
.stat-label { font-family: 'Inter', sans-serif; color: #333; font-weight: 500; }

/* Scope Section */
.scope-section {
	background:
		linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%),
		radial-gradient(circle at 20% 80%, rgba(255, 107, 0, 0.03) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(255, 140, 0, 0.03) 0%, transparent 50%);
	padding: 6rem 2rem;
	position: relative;
}
.scope-section::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; height: 3px;
	background: linear-gradient(90deg, transparent, var(--primary-color), #ff8c00, transparent);
}
.scope-section .container { max-width: 1200px; margin: 0 auto; text-align: left; }
.scope-header { 
	margin-bottom: 3rem; 
	position: relative; 
	text-align: left; 
	padding-bottom: 1rem;
}
.scope-header h2 { 
	font-family: 'Cabin', sans-serif;
	font-size: 2.5rem; 
	font-weight: 800; 
	color: var(--text-color); 
	margin-bottom: 1rem;
	position: relative;
}
.scope-header h2::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, var(--primary-color), #ff8c00);
	border-radius: 2px;
}

.scope-tabs { 
	display: flex; 
	justify-content: center; 
	flex-wrap: wrap;
	gap: 1rem; 
	margin-bottom: 3rem;
	border-bottom: 1px solid #e5e5e5;
	padding-bottom: 1rem;
}

.scope-tab {
	background: none;
	border: none;
	padding: 12px 24px;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	color: var(--text-light);
	cursor: pointer;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.scope-tab.active,
.scope-tab:hover {
	color: var(--primary-color);
	background: rgba(255, 107, 53, 0.1);
}

.scope-content { max-width: 1200px; margin: 0 auto; }
.scope-panel { display: none; }
.scope-panel.active { display: block; animation: fadeUp 0.4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* New Two-Column Layout */
.panel-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: stretch;
	position: relative;
}

.panel-layout::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 1px;
	background: linear-gradient(180deg, transparent, #e0e0e0, transparent);
	transform: translateX(-50%);
}

.panel-left {
	background: var(--light-color);
	border: 1px solid #eee;
	border-radius: 16px;
	padding: 2.5rem;
	transition: all 0.3s ease;
	box-shadow: 0 6px 18px rgba(0,0,0,0.05);
	position: relative;
	overflow: hidden;
}

.panel-left::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(180deg, var(--primary-color), #ff8c00);
	transition: width 0.3s ease;
}

.panel-left:hover::before {
	width: 6px;
}

.panel-left:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 30px rgba(0,0,0,0.08);
	border-color: var(--primary-color);
}

.framework-content h3 {
	font-family: 'Cabin', sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--text-color);
	margin-bottom: 1.5rem;
}

.framework-content p {
	font-family: 'Inter', sans-serif;
	color: #666;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	font-size: 1rem;
}

.framework-content h4 {
	font-family: 'Cabin', sans-serif;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text-color);
	margin-bottom: 1rem;
}

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

.benefits-list li {
	font-family: 'Inter', sans-serif;
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.75rem;
	color: #555;
	font-size: 1rem;
}

.benefits-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--primary-color);
	font-weight: 700;
	font-size: 1.1rem;
}

.request-services-btn {
	background: #ffd700;
	color: #000;
	border: none;
	border-radius: 8px;
	padding: 1rem 2rem;
	font-family: 'Inter', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	width: 100%;
	max-width: 200px;
	position: relative;
	overflow: hidden;
}

.request-services-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s ease;
}

.request-services-btn:hover::before {
	left: 100%;
}

.request-services-btn:hover {
	background: #ffed4e;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.request-services-btn:active {
	transform: translateY(0);
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Technology Logos Grid */
.panel-right {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 1rem;
}

.tech-logos-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	width: 100%;
	height: 100%;
	padding: 0.5rem;
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* Optional scrollbar refinement */
.tech-logos-grid::-webkit-scrollbar { width: 8px; }
.tech-logos-grid::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 8px; }
.tech-logos-grid:hover::-webkit-scrollbar-thumb { background: #cfcfcf; }

.tech-logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.75rem;
	transition: transform 0.3s ease;
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 8px;
}

.tech-logo:hover {
	transform: translateY(-4px);
	background: rgba(255, 107, 53, 0.05);
	border-radius: 8px;
}

.logo-icon {
	width: 60px;
	height: 60px;
	background: #f8f9fa;
	border: 2px solid #e9ecef;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	padding: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: grayscale(0%) brightness(0.98);
	transition: all 0.3s ease;
	max-width: 44px;
	max-height: 44px;
}

.tech-logo:hover .logo-icon img {
	filter: grayscale(0%) brightness(1);
	transform: scale(1.1);
}

.logo-icon::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
	transition: left 0.5s ease;
}

.tech-logo:hover .logo-icon::before {
	left: 100%;
}

.tech-logo:hover .logo-icon {
	border-color: var(--primary-color);
	background: #fff;
	box-shadow: 0 6px 20px rgba(255, 107, 53, 0.2);
	transform: scale(1.05);
}

/* Fallback for missing images */
.logo-icon:empty::after {
	content: attr(data-fallback);
	font-size: 0.9rem;
	font-weight: 600;
	color: #6c757d;
}

.tech-logo span {
	font-family: 'Inter', sans-serif;
	font-size: 0.8rem;
	color: #495057;
	font-weight: 500;
	line-height: 1.2;
	transition: color 0.3s ease;
}

.tech-logo:hover span {
	color: var(--primary-color);
	font-weight: 600;
}

/* Responsive Design */
@media (max-width: 968px) {
	.hero-section { min-height: 80vh; padding: 80px 2rem 2rem 2rem; }
	.hero-container { flex-direction: column; text-align: center; gap: 2rem; }
	.hero-image { flex: 0 0 auto; }
	.panel-header { flex-direction: column; text-align: center; }
	.panel-layout {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.panel-layout::before {
		display: none;
	}
	.tech-logos-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 1rem;
		padding: 0.5rem;
	}
	.scope-header h2 {
		font-family: 'Cabin', sans-serif;
		font-size: 2rem;
	}
	.panel-right {
		padding: 0.5rem;
	}
}
@media (max-width: 768px) {
	.hero-section { min-height: 70vh; padding: 80px 1.5rem 1.5rem 1.5rem; }
	.hero-title { font-size: clamp(2.5rem, 8vw, 4rem); }
	.scope-section { padding: 4rem 1rem; }
	.panel-left { padding: 2rem; }
	.tech-logos-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 0.75rem;
		padding: 0.5rem;
	}
	.logo-icon {
		width: 50px;
		height: 50px;
	}
	.logo-icon img {
		max-width: 36px;
		max-height: 36px;
	}
	.scope-tabs {
		gap: 0.5rem;
	}
	.scope-tab {
		padding: 0.8rem 1.5rem;
		font-family: 'Inter', sans-serif;
		font-size: 0.8rem;
	}
}
@media (max-width: 640px) {
	.hero-section { min-height: 60vh; padding: 80px 1rem 1rem 1rem; }
	.hero-buttons { flex-direction: column; gap: 1rem; }
	.hero-buttons .btn--primary, .hero-buttons .btn--secondary { max-width: 280px; width: 100%; text-align: center; }
	.scope-tabs { 
		flex-direction: column; 
		gap: 0.5rem;
	}
	.scope-tab { 
		text-align: center;
		width: 100%;
	}
	.tech-logos-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
		padding: 0.75rem;
	}
	.request-services-btn {
		max-width: 100%;
	}
	.scope-header h2 {
		font-family: 'Cabin', sans-serif;
		font-size: 1.8rem;
	}
	.panel-left {
		padding: 1.5rem;
	}
	.logo-icon {
		width: 45px;
		height: 45px;
	}
	.logo-icon img {
		max-width: 32px;
		max-height: 32px;
	}
}

/* Client Feedback Section */
.client-feedback {
  max-width: 1100px;
  margin: 80px auto;
  padding: 20px;
  text-align: center;
}

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

.feedback-header {
    margin-bottom: 60px;
}

.feedback-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
}

.feedback-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
    font-family: var(--font-paragraph);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.testimonial {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
}

.star {
    width: 20px;
    height: 20px;
    color: #ffd700;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 32px;
    font-style: italic;
    font-family: var(--font-paragraph);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #ff8c00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    font-family: var(--font-heading);
}

.client-details {
    flex: 1;
}

.client-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.client-title {
    font-size: 14px;
    color: #666;
    font-family: var(--font-paragraph);
}

.company-logo {
    height: 32px;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.nav-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--text-color);
}

.nav-arrows {
    display: flex;
    gap: 12px;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.nav-arrow:hover {
    border-color: var(--text-color);
    background-color: var(--text-color);
    color: white;
}

.nav-arrow svg {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .feedback-title {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonial {
        padding: 30px;
    }
}
