:root {
	--primary: #E03236;
	--background: #1C1A30;
	--text: #FFFFFF;
	--gray-light: #E5E5E5;
	--gray-medium: #9A9A9A;
	--grid-padding: clamp(1rem, 5vw, 6rem);
}

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

body {
	font-family: 'Inter', sans-serif;
	background-color: var(--background);
	color: var(--text);
	overflow-x: hidden;
	line-height: 1.6;
}
a {
    color:var(--gray-medium);
    text-decoration: none;
}
.container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--grid-padding);
}

/* Header & Navigation Styles - Optimized for GSAP */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    background-color: transparent; 
    box-shadow: none;
    backdrop-filter: none; 
}

/* Other styles remain the same */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    z-index: 102;
    position: relative;
}

.logo-img {
    height: auto;
    max-height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    pointer-events: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 102;
    padding: 8px;
}


/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(28, 26, 48, 0.98);
    backdrop-filter: blur(10px);
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Active link styles */
.nav-links a.active,
.mobile-menu a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%; 
    height: 2px;
    background-color: var(--primary);
}

.mobile-menu a.active {
    font-weight: 700;
}

/* Body styles for menu open state */
body.menu-open {
    overflow: hidden;
}

/* Responsive styles remain the same */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.95rem;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    header {
        padding: 1.2rem 0;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem 0;
    }
    
    .logo-img {
        max-height: 35px;
    }
    
    .mobile-menu-btn {
        width: 44px;
        height: 44px;
    }
    
    .mobile-menu a {
        font-size: 1.1rem;
        margin: 0.8rem 0;
    }
}


/* Search icon styles */
.search-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin-left: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.search-trigger:hover {
    background-color: var(--primary);
}

/* Search overlay styles */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 14, 25, 0.95);
    backdrop-filter: blur(10px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.search-container {
    width: 80%;
    max-width: 800px;
    position: relative;
}

.search-form {
    display: flex;
    width: 100%;
    position: relative;
}

.search-input {
    width: 200px;
    background-color: transparent;
    border: none;
    color: var(--text);
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.15);
}


.search-submit:hover {
    background-color: var(--primary-dark, #2b4fd7);
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.search-close:hover {
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 900px) {
    .search-trigger {
        margin-right: 1rem;
    }
    
    .search-input {
        font-size: 1.2rem;
        padding: 1rem;
    }
    
    .search-close {
        top: -50px;
    }
}

@media (max-width: 480px) {
    .search-container {
        width: 90%;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .search-submit {
        padding: 0 1rem;
    }
}

.hero {
	height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
	background: url('../images/header.jpg') no-repeat center center;
	background-size: cover;
    background-repeat: no-repeat;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, rgba(28, 26, 48, 0.9), rgba(28, 26, 48, 0.7));
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
}

.hero-subtitle {
	font-size: clamp(1rem, 3vw, 1.2rem);
	font-weight: 500;
	color: var(--primary);
	margin-bottom: 1rem;
	opacity: 9;
	transform: translateY(20px);
}

.hero-title {
	font-size: clamp(2.5rem, 3vw, 4.5rem);
	line-height: 1.1;
	font-weight: 800;
	margin-bottom: 1.5rem;
	opacity: 9;
	transform: translateY(20px);
    padding-top: 30px;
}

.hero-desc {
	font-size: clamp(1rem, 3vw, 1.2rem);
	max-width: 600px;
	margin-bottom: 2.5rem;
	color: var(--gray-light);
	opacity: 9;
	transform: translateY(20px);
}

.btn-group {
	display: flex;
	gap: 1.5rem;
	opacity: 1;
	transform: translateY(20px);
}

.btn {
	display: inline-block;
	padding: 1rem 2rem;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.3s ease;
	text-align: center;
}

.btn-primary {
	background-color: var(--primary);
	color: var(--text);
	border: 2px solid var(--primary);
}

.btn-primary:hover {
	background-color: transparent;
	color: var(--primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text);
    border: 2px solid var(--text);
    height: 56px;
    white-space: nowrap;
}

.btn-secondary:hover {
	background-color: var(--text);
	color: var(--background);
}

.scroll-indicator {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 2;
	opacity: 0;
}

.scroll-indicator span {
	font-size: 0.85rem;
	margin-bottom: 10px;
}

.scroll-indicator .line {
	width: 2px;
	height: 60px;
	background-color: var(--text);
	position: relative;
	overflow: hidden;
}

.scroll-indicator .line::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--primary);
	animation: scrollDown 1.5s ease infinite;
}

@keyframes scrollDown {
	0% {
		transform: translateY(-100%);
	}
	100% {
		transform: translateY(100%);
	}
}

.section {
	padding: 3rem 0;
	position: relative;
}

.section-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.section-title span {
	color: var(--primary);
}

.section-subtitle {
	font-size: 1.2rem;
	color: var(--gray-medium);
	margin-bottom: 4rem;
	max-width: 700px;
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.about-image {
	overflow: hidden;
	border-radius: 4px;
	position: relative;
}

.about-image img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s ease;
}

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

.about-content h3 {
	font-size: 1.8rem;
	margin-bottom: 1.5rem;
}

.about-content p {
	margin-bottom: 1.5rem;
	color: var(--gray-light);
}

.stat-box {
	background-color: rgba(255, 255, 255, 0.05);
	padding: 2rem;
	border-radius: 4px;
	margin-top: 2rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	text-align: center;
}

.stat-item h4 {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 0.5rem;
}

.stat-item p {
	font-size: 1rem;
	color: var(--gray-medium);
	margin: 0;
}

.services {
	background-color: rgba(255, 255, 255, 0.02);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background-color: var(--primary);
    transition: height 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    display: contents;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-icon svg {
    width: 25px;
    height: 25px;
    color: var(--primary);
}

.service-title {
    margin-bottom: 1.25rem;
}

.service-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
    font-size: 0.95rem;
}

.service-link:hover {
    gap: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

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

}

/* Homepage services: keep the 5 x 2 grid perfectly aligned after GSAP reveals. */
.home-services .services-grid {
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.home-services .service-card {
    height: 100%;
    min-height: 190px;
    margin: 0;
    align-self: stretch;
    will-change: transform, opacity;
    align-items: center;
}

.home-services .service-title {
    min-height: 2.8em;
    display: flex;
    align-items: flex-start;
}

.home-services .service-link {
    margin-top: auto;
}

@media (max-width: 1400px) {
    .home-services .service-title { min-height: 0; }
}


.projects {
	position: relative;
	overflow: hidden;
}

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

.project-card {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	height: 350px;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(28, 26, 48, 0.9),
        rgba(28, 26, 48, 0.5),
        transparent
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 1;
}

/* حذف کامل افکت هاور */
.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-image {
    transform: none;
}
.project-category {
	color: var(--primary);
	font-size: 0.85rem;
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.project-title {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.project-link {
	color: var(--text);
	text-decoration: none;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.project-link svg {
	transition: transform 0.3s ease;
}

.project-link:hover svg {
	transform: translateX(5px);
}
@media (max-width: 768px) {
    .section projects {
        display: none !important;
    }
}

.clients {
	background-color: rgba(255, 255, 255, 0.02);
}

.clients-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 3rem;
	align-items: center;
	justify-items: center;
}

.client-logo {
	height: 50px;
	opacity: 0.7;
	transition: opacity 0.3s ease, transform 0.3s ease;
	filter: grayscale(1);
}

.client-logo:hover {
	opacity: 1;
	transform: scale(1.1);
	filter: grayscale(0);
}

.cta {
	text-align: center;
	background: linear-gradient(to right, rgba(224, 50, 54, 0.05), rgba(28, 26, 48, 0.1));
	padding: 50px 0px 50px 0px;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.cta-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1.5rem;
}

.form-message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
    display: block !important;
    clear: both;
}

.form-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.cta-input {
    flex: 1;
    min-width: 0; /* Fix for flexbox items not shrinking properly */
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    color: var(--text);
    font-size: 1rem;
    height: 56px;
}

.btn.btn-primary {
    padding: 1rem 1.5rem;
    white-space: nowrap;
    height: 56px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }
    
    .cta-input, .btn.btn-primary {
        width: 100%;
    }
}

.industries {
	background-color: var(--background);
}

.global-presence {
	position: relative;
	overflow: hidden;
        background-color: rgba(255, 255, 255, 0.02);
}

.global-map {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
        max-width: 1000px;
        margin: 0 auto;
}

.global-map img {
	width: 100%;
	height: auto;
	display: block;
}

.global-stats {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 3rem 2rem 2rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	text-align: center;
}

.global-stat-item h4 {
	font-size: 3rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 0.5rem;
}

.global-stat-item p {
	font-size: 1.2rem;
	color: var(--gray-medium);
	margin: 0;
}

footer {
    background-color: rgba(15, 14, 25, 0.8);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.footer-info p {
    color: var(--gray-medium);
    margin: 1.5rem 0;
    max-width: 350px;
}

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

.social-link {                  
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    list-style: circle;
}

.footer-links a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
}

.contact-info li {
    list-style: none;
    color: var(--gray-medium);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--gray-light);
    text-decoration: none;
    padding: 5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid,
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
   
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .footer-info p {
        max-width: 100%;
    }
    
    .nav-links {
        display: none;
    }
   
    .mobile-menu-btn {
        display: block;
    }
   
    .hero {
        height: auto;
        align-items: flex-start;
        padding-top: 35vh;
        padding: 5rem 0;
        min-height: auto;
    }
   
    .btn-group {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        align-items: center;
        gap: 1rem;
    }
   
    .btn {
        width: 100%;
    }
   
    .projects-grid {
        grid-template-columns: 1fr;
    }
   
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
   
    .global-stats {
        position: relative;
        background: rgba(28, 26, 48, 0.3);
        padding: 2rem 1rem;
    }
   
    .global-stat-item h4 {
        font-size: 2.5rem;
    }
   
    .global-stat-item p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-top {
        gap: 2rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

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

    .footer-links a {
        padding: 8px 0;
    }

    .contact-info li {
        align-items: center;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Partners Section Styling */

.partners {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 6rem 0;
    overflow: hidden;
}

.partners-redesign {
    position: relative;
}

.partners-redesign::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(242, 62, 62, 0.16), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05), transparent 36%);
    pointer-events: none;
}

.partners-redesign .container {
    position: relative;
    z-index: 1;
}

.partners-redesign-shell {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.45fr);
    gap: 2.25rem;
    align-items: start;
}

.partners-redesign-intro {
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    backdrop-filter: blur(8px);
}

.partners-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(242, 62, 62, 0.32);
    background: rgba(242, 62, 62, 0.1);
    color: #f45b5b;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.partners-redesign-intro .section-title,
.partners-redesign-intro .section-subtitle {
    text-align: left;
}

.partners-redesign-intro .section-subtitle {
    max-width: none;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.85;
}

.partners-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.75rem;
}

.partners-metric-card {
    padding: 1rem 0.95rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.partners-metric-card strong {
    display: block;
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.partners-metric-card span {
    display: block;
    color: rgba(255,255,255,0.68);
    font-size: 0.84rem;
    line-height: 1.5;
}

.partners-redesign-showcase {
    padding: 1.2rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    box-shadow: 0 18px 60px rgba(0,0,0,0.16);
}

.partners-redesign-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.partner-brand-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 188px;
    padding: 1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
    border: 1px solid rgba(12, 21, 45, 0.08);
    box-shadow: 0 14px 30px rgba(9, 16, 33, 0.14);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.partner-brand-card:hover {
    transform: translateY(-6px);
    border-color: rgba(242, 62, 62, 0.35);
    box-shadow: 0 20px 45px rgba(9, 16, 33, 0.18);
}

.partner-brand-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 94px;
    padding: 0.75rem;
    border-radius: 16px;
    background: black;
}

.partner-brand-logo {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 62px;
    object-fit: contain;
}

.partner-brand-meta {
    padding-top: 0.95rem;
}

.partner-brand-name {
    margin: 0;
    color: #101827;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.partner-brand-type {
    margin: 0.35rem 0 0;
    color: #5f687a;
    font-size: 0.85rem;
    line-height: 1.55;
}

@media (max-width: 1200px) {
    .partners-redesign-shell {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .partners-redesign-intro,
    .partners-redesign-showcase {
        padding: 1.25rem;
    }

    .partners-redesign-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partners-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .partners-redesign-grid {
        grid-template-columns: 1fr;
    }

    .partner-brand-card {
        min-height: 170px;
    }
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.industry-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background-color: var(--primary);
    transition: height 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.industry-card:hover::before {
    height: 100%;
}

/* Icon + Title */
.industry-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.industry-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(224, 50, 54, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 0;
}

.industry-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.industry-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.industry-title {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.3;
}

.industry-desc {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.industry-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.industry-link:hover {
    gap: 0.8rem;
}


/* Responsive adjustments */
@media (max-width: 1200px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

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

    .industry-card {
        padding: 2rem;
    }
}

/* Industry Icon Image */
.icon-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

/* Arrow Icon */
.arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.industry-link:hover .arrow-icon {
    transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
}


     /* products Section  */


    /* Hero Backgrounds */
    .products-hero {
        background: url('../images/products-hero.webp') no-repeat center center;
        background-size: cover;
    }

      /* Chemical Products specific styles - Tabbed Interface */
	  .chemical-list {
		display: flex;
		overflow-x: auto;
		margin-bottom: 2rem;
		padding-bottom: 1rem;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		scrollbar-color: var(--primary) rgba(255, 255, 255, 0.1);
	}
	
	.chemical-list::-webkit-scrollbar {
		height: 4px;
	}
	
	.chemical-list::-webkit-scrollbar-track {
		background: rgba(255, 255, 255, 0.1);
		border-radius: 2px;
	}
	
	.chemical-list::-webkit-scrollbar-thumb {
		background-color: var(--primary);
		border-radius: 2px;
	}
	
	.chemical-item {
		padding: 1rem 2rem;
		background-color: transparent;
		border: none;
		color: var(--text);
		font-weight: 600;
		font-size: 1rem;
		white-space: nowrap;
		cursor: pointer;
		transition: color 0.3s ease;
		position: relative;
	}
	
	.chemical-item::after {
		content: '';
		position: absolute;
		bottom: -1rem;
		left: 0;
		width: 0;
		height: 3px;
		transition: width 0.3s ease;
	}
	
	.chemical-item:hover {
		color: var(--primary);
	}
	
	.chemical-item.active {
		color: var(--primary);
	}
	
	.chemical-item.active::after {
		width: 100%;
	}
	
	.chemical-details {
		position: relative;
		min-height: 400px;
	}
	
	.chemical-detail {
		display: none;
		padding: 2rem;
		background-color: rgba(255, 255, 255, 0.03);
		border-radius: 8px;
		border: 1px solid rgba(255, 255, 255, 0.1);
		margin-bottom: 3rem;
		animation: fadeIn 0.5s ease forwards;
	}
	
	.chemical-detail.active {
		display: block;
	}
	
	@keyframes fadeIn {
		from {
			opacity: 0;
			transform: translateY(10px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
	
	.chemical-header {
		display: flex;
		justify-content: space-between;
		margin-bottom: 2rem;
		align-items: flex-start;
	}
	
	.chemical-info {
		flex: 1;
	}
	
	.chemical-name {
		font-size: 2rem;
		font-weight: 700;
		margin-bottom: 1rem;
	}
	
	.chemical-formula {
		color: var(--gray-medium);
		font-size: 1.1rem;
		margin-bottom: 1.5rem;
	}
	
	.chemical-description {
		color: var(--gray-light);
		margin-bottom: 2rem;
		max-width: 800px;
		line-height: 1.8;
	}
	
	.chemical-image {
		width: 150px;
		height: 150px;
		border-radius: 8px;
		overflow: hidden;
		margin-left: 2rem;
		flex-shrink: 0;
	}
	
	.chemical-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	
	.detail-section-title {
		font-size: 1.5rem;
		font-weight: 600;
		margin-bottom: 1.5rem;
		color: var(--primary);
	}
	
	.chemical-applications {
		margin-bottom: 2rem;
	}
	
	.application-list {
		list-style: none;
	}
	
	.application-item {
		display: flex;
		align-items: center;
		gap: 1rem;
		margin-bottom: 1rem;
		color: var(--gray-light);
	}
	
	.application-item svg {
		color: var(--primary);
		flex-shrink: 0;
	}
	
	.chemical-specifications {
		width: 100%;
		overflow-x: auto;
	}
	
	.specifications-table {
		width: 100%;
		border-collapse: collapse;
		margin-bottom: 1.5rem;
	}
	
	.specifications-table th {
		text-align: left;
		padding: 1rem;
		background-color: rgba(255, 255, 255, 0.05);
		color: var(--gray-light);
		font-weight: 600;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.specifications-table td {
		padding: 1rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
		color: var(--gray-medium);
	}
	
	.specifications-table tr:last-child td {
		border-bottom: none;
	}
	
	.chemical-inquiry {
		background-color: var(--primary);
		color: var(--text);
		border: none;
		font-weight: 600;
		padding: 1rem 2rem;
		border-radius: 4px;
		cursor: pointer;
		transition: background-color 0.3s ease;
		margin-top: 2rem;
		display: inline-block;
	}
	
	.chemical-inquiry:hover {
		background-color: #c82d30;
	}
	
	.chemical-meta {
		display: flex;
		gap: 3rem;
		margin-top: 2rem;
		padding-top: 2rem;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.meta-item {
		display: flex;
		flex-direction: column;
	}
	
	.meta-label {
		color: var(--gray-medium);
		font-size: 0.9rem;
		margin-bottom: 0.5rem;
	}
	
	.meta-value {
		color: var(--gray-light);
		font-weight: 600;
	}
	
	/* Responsive styles */
	@media (max-width: 992px) {
		.chemical-header {
			flex-direction: column;
		}
		
		.chemical-image {
			margin-left: 0;
			margin-bottom: 2rem;
			order: -1;
		}
		
		.chemical-meta {
			flex-direction: column;
			gap: 1.5rem;
		}
	}
	
	@media (max-width: 768px) {
		.chemical-info {
			width: 100%;
		}
		
		.chemical-list {
			display: none;
		}
		
		.chemical-selector-mobile {
			display: block;
			margin-bottom: 2rem;
		}
		
		.chemical-selector-label {
			display: block;
			margin-bottom: 0.5rem;
			color: var(--gray-medium);
		}
		
		.chemical-select {
			width: 100%;
			padding: 1rem;
			background-color: rgba(255, 255, 255, 0.05);
			border: 1px solid rgba(255, 255, 255, 0.1);
			border-radius: 4px;
			color: var(--text);
			font-size: 1rem;
			font-family: 'Inter', sans-serif;
		}
		
		.chemical-select option {
			background-color: var(--background);
			color: var(--text);
		}
	}
	
	@media (min-width: 769px) {
		.chemical-selector-mobile {
			display: none;
		}
	}


	/* Blog Page Styles */


.blog-hero {
    background: url('../images/blogs-hero.webp') no-repeat center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 600px;

}

/* Blog Layout */
.blog-content {
    padding-top: 6rem;
    padding-bottom: 6rem;
        background-color: rgba(255, 255, 255, 0.02);
        padding: 6rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 120px;
    height: max-content;
}

.sidebar-widget {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.widget-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.widget-desc {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
}

/* Categories */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 1rem;
}

.category-link {
    display: flex;
    justify-content: space-between;
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-link span {
    color: var(--gray-medium);
}

.category-link:hover, 
.category-link.active {
    color: var(--primary);
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recent-post-item {
    display: flex;
    gap: 1rem;
}

.recent-post-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    flex: 0 0 80px;
}

.recent-post-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.recent-post-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.recent-post-date {
    font-size: 0.85rem;
    color: var(--gray-medium);
}

/* Subscription Form */
.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 4px;
    color: var(--text);
    font-size: 1rem;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    color: var(--gray-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.tag-link:hover {
    background-color: var(--primary);
    color: var(--text);
}

/* Blog Main Content */
.blog-filters {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-label {
    color: var(--gray-medium);
}

.filter-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    color: var(--text);
    font-size: 0.9rem;
    appearance: none;
    background-image: url('../images/icons/chevron-down.svg');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.blog-search {
    display: flex;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.search-btn {
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    padding: 0.75rem 1rem;
    color: var(--text);
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.search-input-group {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    height: 46px; 
}

.search-btn:hover {
    background-color: var(--primary);
}

/* Featured Post */
.featured-post {
    display: flex;
    gap: 2rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.featured-post-image {
    flex: 1;
    position: relative;
    min-height: 350px;
}

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

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: var(--text);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.featured-post-content {
    flex: 1;
    padding: 2.5rem 2rem 2.5rem 0;
}

.post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: var(--gray-medium);
    font-size: 0.9rem;
    align-items: center;
    flex-wrap: wrap;
        justify-content: center;
}

.featured-post-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.featured-post-excerpt {
    color: var(--gray-light);
    margin-bottom: 2rem;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-10px);
}

.post-thumbnail {
    height: 200px;
    position: relative;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.post-excerpt {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
    line-height: 1.6;
}

.post-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
    margin-top: auto;
    font-size: 0.95rem;
}

.post-link:hover {
    gap: 0.8rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 6rem;
}

.pagination-link, 
.pagination-dots,
.pagination-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
/* Quote Widget Styles */
.quote-widget {
    position: relative;
    overflow: hidden;
}

.quote-container {
    position: relative;
    padding: 1.5rem 0;
}

.quote-icon {
    margin-bottom: 1rem;
    color: var(--primary);
}

.quote-text {
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--gray-light);
    margin: 0 0 1.5rem 0;
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid var(--primary);
    transition: opacity 0.3s ease;
    min-height: 100px;
}

.quote-controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.quote-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-nav:hover {
    background-color: var(--primary);
    color: var(--text);
    border-color: var(--primary);
}

/*responsive*/
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 2rem;
    }
    
    .blog-grid {
        gap: 2rem;
    }
    
    .blog-posts-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 300px 1fr;
    }
    
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-post {
        flex-direction: column;
    }
    
    .featured-post-image {
        min-height: 250px;
    }
    
    .featured-post-content {
        padding: 2rem;
    }
    
    .featured-post-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        order: 2;
        position: static;
        top: auto;
        margin-top: 3rem;
    }
    
    .blog-main {
        order: 1;
    }
    
    .blog-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .filter-options {
        width: 100%;
        flex-wrap: wrap;
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .blog-search {
        width: 100%;
    }
    
    .search-input-group {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .search-field {
        padding: 0.75rem;
        font-size: 0.9rem;
        height: 40px;
    }
    
    .search-submit {
        height: 40px;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .search-submit svg {
        width: 14px;
        height: 14px;
    }
    .search-input-group {
        width: 100%;
    }
    
    .search-btn {
        padding: 0 12px;
    }
    
    .search-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
    
    .sidebar-widgets-tablet {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .post-meta {
        flex-direction: row !important; 
        gap: 15px;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: nowrap; 
    }
    
 
    .post-date, .post-author {
        margin: 0;
        white-space: nowrap; 
    }
    
}

@media (max-width: 576px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination-link, 
    .pagination-dots, 
    .pagination-next {
        width: 35px;
        height: 35px;
    }
    
    .featured-post-title {
        font-size: 1.5rem;
    }
    
    .cta-form .form-group {
        flex-direction: column;
    }
    
    .cta-input {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .sidebar-widgets-tablet {
        grid-template-columns: 1fr;
    }
    
    .widget-title {
        font-size: 1.3rem;
    }
    
    .post-title {
        font-size: 1.2rem;
    }
    
    .blog-content {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .recent-post-item {
        gap: 0.75rem;
    }
    
    .recent-post-image {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-desc {
        font-size: 0.9rem;
    }
    
    .tag-cloud {
        gap: 0.5rem;
    }
    
    .tag-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .post-content {
        padding: 1.25rem;
    }
    
    .cta-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .cta-subtitle {
        font-size: 0.9rem;
    }
}


/*  the Procurement page */

    /* Hero Backgrounds */
.procurement-hero {
    background: url('../images/procurement-hero.webp') no-repeat center center;
    background-size: cover;
}

    /* Split Hero Section */
.split-hero {
    position: relative;
    padding: 0;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.simple-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #1c1a30; /* Dark background instead of video */
}

.simple-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(28, 26, 48, 0.95), rgba(28, 26, 48, 0.7));
}

.split-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 4rem;
    align-items: center;
}

.hero-text-block {
    max-width: 650px;
}

.badge {
    background-color: rgba(224, 50, 54, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.split-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.split-hero-desc {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 2.5rem;
    color: var(--gray-light);
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
}

.stat-block {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-medium);
}

.hero-quote-card {
    width: 100%;
    max-width: 450px;
}

.quote-card-inner {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.quick-quote-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quote-icon {
    background-color: rgba(224, 50, 54, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-icon svg {
    color: var(--primary);
}

.quick-quote-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.quick-quote-form .form-group {
    margin-bottom: 1.5rem;
}

.quick-quote-form input,
.quick-quote-form select,
.quick-quote-form textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
}

.quick-quote-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 3rem;
}

.btn-block {
    width: 100%;
}
/* Procurement Contact Section Styles */
.procurement-contact {
    padding: 5rem 0;
    background-color: #1c1a30;
    color: #ffffff;
}

.pc-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.pc-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pc-title span {
    color: #e03236;
}

.pc-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 4rem;
}

.pc-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

/* Contact Information Styles */
.pc-contact-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pc-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pc-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(224, 50, 54, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pc-icon-wrapper svg {
    color: #e03236;
}

.pc-contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pc-contact-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.pc-capabilities-card {
    margin-top: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pc-capabilities-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pc-capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 1rem;
    column-gap: 1.5rem;
}

.pc-capability-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pc-bullet {
    width: 8px;
    height: 8px;
    background-color: #e03236;
    border-radius: 50%;
    display: inline-block;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.pc-capability-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

/* Form Styles */
.pc-form-col {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.pc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

.pc-form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.pc-form-group input,
.pc-form-group select,
.pc-form-group textarea {
    padding: 0.875rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.95rem;
    width: 100%;
}

.pc-form-group input:focus,
.pc-form-group select:focus,
.pc-form-group textarea:focus {
    outline: none;
    border-color: #e03236;
}

.pc-select-wrapper {
    position: relative;
}

.pc-select-wrapper::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

.pc-form-group select {
    appearance: none;
    padding-right: 2.5rem;
}

.pc-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.pc-form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
}

.pc-form-checkbox label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.pc-submit-btn {
    background-color: #e03236;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 0.5rem;
}

.pc-submit-btn:hover {
    background-color: #c82a2e;
}


/* Responsive Styles for Procurement Page */

/* Global Responsive Adjustments */
@media (max-width: 1200px) {
    
    .split-hero-content {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    /* Split Hero Section */
    .split-hero {
        height: auto;
        min-height: auto;
        padding: 5rem 0;
    }
    
    .split-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text-block {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-quote-card {
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* Procurement Process */
    .pc-process-timeline {
        grid-template-columns: 1fr;
    }
    
    /* Certifications */
    .certifications-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        margin-top: 3rem;
    }
    
    /* Procurement Contact */
    .pc-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .pc-contact-col {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Hero Sections */
    .pc-hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .split-hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .btn-group .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .stat-block {
        align-items: center;
    }
    
    /* Procurement Process */
    .process-step {
        flex-direction: column;
        text-align: center;
        padding-left: 25px;
    }
    
    .step-number {
        margin: 0 auto 1rem;
        position: absolute;
        top: 0;
        left: 0;
        transform: scale(0.8);
        margin-right: 0;
    }
    
    /* Certifications */
    /* Certifications Section */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.certification-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.certification-icon {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 1/1;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.certification-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.certification-card:hover .certification-icon img {
    transform: scale(1.05);
}

.certification-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.certification-desc {
    color: var(--gray-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .certification-icon {
        max-width: 180px;
    }
}

/* مهم: استایل موبایل - تغییر به تک ستون در عرض 768 پیکسل و کمتر */
@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: 1fr !important; /* اولویت بالاتر برای اطمینان از اعمال */
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        gap: 2rem; /* افزایش فاصله بین کارت‌ها در حالت عمودی */
    }
    
    .certification-card {
        text-align: center;
        padding: 1.5rem;
    }
    
    .certification-icon {
        max-width: 150px;
    }
}

/* استایل‌های بیشتر برای صفحات خیلی کوچک */
@media (max-width: 576px) {
    .certifications-grid {
        gap: 1.5rem;
    }
    
    .certification-card {
        padding: 1.25rem;
    }
    
    .certification-icon {
        max-width: 120px;
        margin-bottom: 1rem;
    }
    
    .certification-title {
        font-size: 1.2rem;
    }
    
    .certification-desc {
        font-size: 0.9rem;
    }
}
    
    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* Procurement Contact */
    .pc-capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .pc-form-row {
        grid-template-columns: 1fr;
    }
    
    /* CTA Section */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    /* Section Titles */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Partner Logos */
    .partner-logo-container {
        width: 120px;
    }
    
    /* Procurement Contact */
    .pc-title {
        font-size: 1.75rem;
    }
    
    .pc-subtitle {
        font-size: 0.95rem;
    }
    
    .pc-contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .pc-icon-wrapper {
        margin: 0 auto 1rem;
    }
    
    .pc-form-col {
        padding: 1.5rem;
    }
    
    /* FAQ Section */
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 2rem;
    }
    
    .faq-toggle {
        right: 0.5rem;
    }
}



/* Additional Fixes */
@media (max-width: 768px) {
    .partners-section h3 {
        text-align: center;
    }
    
    .product-catalog-cta {
        padding: 2rem 1rem;
    }
    
    .product-catalog-cta h3 {
        font-size: 1.5rem;
    }
}

/* Add Missing Responsive Styles for Hero Section */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

/* Style Adjustments for FAQs */


/* Partners Slider Adjustments */
@media (max-width: 768px) {
    .partners-section {
        overflow: hidden;
    }
    
    .partners-slider {
        overflow: visible;
        height: auto;
        margin: 2rem 0;
    }
    
    .partners-track {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        justify-content: center;
        animation: none !important;
        transform: none !important;
        position: static !important;
        width: 100% !important;
    }
    
    .partner-logo {
        max-width: 80%;
        max-height: 70px;
        display: block;
        object-fit: contain;
    }
    .partners-slider .partners-track {
        /* Prevent duplication by limiting content */
        flex-wrap: wrap;
        animation: none !important; /* Stop any animation */
        transform: none !important; /* Reset any transform */
        width: auto !important; /* Reset any fixed width */
    }
    
    /* Make sure logos display properly in grid */
    .partners-slider .partner-logo-container {
        width: calc(50% - 20px) !important;
        margin: 10px;
        animation: none !important;
    }
    
    /* Remove any potential cloned elements created by JavaScript */
    .partners-slider .partner-logo-container.clone,
    .partners-slider .partners-track > div:nth-child(n+12) {
        display: none !important;
    }
}

.product-catalog-cta {
    text-align: center;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.product-catalog-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.product-catalog-cta p {
    color: var(--gray-light);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Process Timeline */
.pc-process-timeline {
    margin-top: 4rem;
    position: relative;
}

.pc-process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background-color: rgba(224, 50, 54, 0.3);
}

.process-step {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 2rem;
    position: relative;
    z-index: 2;
}

.step-content {
    padding-top: 0.5rem;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-desc {
    color: var(--gray-light);
}

/* Certifications */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.certification-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-10px);
}

.certification-icon {
    width: 250px;
    height: 250px;
    margin-bottom: 1.5rem;
}

.certification-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.certification-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.certification-desc {
    color: var(--gray-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-content {
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--gray-light);
}

.testimonial-content p {
    font-size: 15px;
    line-height: 1.7;
}

.testimonial-content p::before {
    content: '\201C';
    font-size: 2rem;
    color: var(--primary);
    vertical-align: -0.4em;
    margin-right: 0.2em;
}

.testimonial-content p::after {
    content: '\201D';
    font-size: 2rem;
    color: var(--primary);
    vertical-align: -0.4em;
    margin-left: 0.2em;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

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

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray-medium);
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(224, 50, 54, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-icon svg {
    color: var(--primary);
}

.info-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--gray-medium);
}

.procurement-capabilities {
    margin-top: 2rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 2rem;
}

.procurement-capabilities h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.procurement-capabilities ul {
    list-style: none;
}

.procurement-capabilities li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    color: var(--gray-light);
}

.procurement-capabilities li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input {
    width: auto !important;
    margin-top: -0.5rem;
}

.form-checkbox label {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
        margin: 0;
        color: #9A9A9A;
}

/* FAQs */
.faq-container {
    margin-top: 3rem;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-toggle {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--gray-light);
    line-height: 1.8;
}

/* CTA Section modifications */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    
    .step-content {
        padding-top: 0;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}


  /* Contact Section */

    /* Hero Backgrounds */
    .contact-hero {
        background: url('../images/contact-hero.jpg') no-repeat center;
        background-size: cover;
    }


    /* Contact Info Section */
    .contact-info-section {
        padding: 100px 0;
        background-color: rgba(255, 255, 255, 0.02);
    }

    .contact-info-header {
        text-align: center;
        max-width: 800px;
        margin: 50px auto 60px;
    }

    .contact-section-title {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .contact-section-title span {
        color: var(--primary);
    }

    .contact-section-subtitle {
        font-size: 18px;
        line-height: 1.6;
        color: var(--gray-medium);
    }

    .contact-offices-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
    }

    .contact-office-card {
        background-color: rgba(255, 255, 255, 0.03);
        border-radius: 8px;
        padding: 30px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .contact-office-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .contact-office-icon {
        width: 64px;
        height: 64px;
        background-color: rgba(224, 50, 54, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 24px;
    }

    .contact-office-icon svg {
        width: 30px;
        height: 30px;
        color: var(--primary);
    }

    .contact-office-title {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .contact-office-details {
        list-style: none;
        padding: 0;
        margin: 0 0 30px;
        flex-grow: 1;
    }

    .contact-office-details li {
        margin-bottom: 15px;
        color: var(--gray-medium);
    }

    .contact-office-details li strong {
        color: var(--gray-light);
        display: inline-block;
        min-width: 80px;
    }

    .contact-office-details a {
        color: var(--gray-medium);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .contact-office-details a:hover {
        color: var(--primary);
    }

    .contact-office-cta {
        margin-top: auto;
    }

    .contact-office-btn {
        display: inline-block;
        padding: 12px 24px;
        background-color: transparent;
        color: var(--text);
        border: 2px solid var(--primary);
        border-radius: 4px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        text-align: center;
    }

    .contact-office-btn:hover {
        background-color: var(--primary);
        color: var(--text);
    }

    /* Contact Map Section */
    .contact-map-section {
        padding: 100px 0;
        background-color: var(--background);
    }

    .contact-map-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }

    .contact-map-content {
        max-width: 500px;
    }

    .contact-map-desc {
        font-size: 16px;
        line-height: 1.6;
        color: var(--gray-medium);
        margin-bottom: 40px;
    }

    .contact-map-features {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .contact-map-feature {
        display: flex;
        gap: 20px;
    }

    .contact-feature-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        background-color: rgba(224, 50, 54, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-feature-icon svg {
        width: 24px;
        height: 24px;
        color: var(--primary);
    }

    .contact-feature-content h3 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .contact-feature-content p {
        color: var(--gray-medium);
        font-size: 15px;
        line-height: 1.6;
        margin: 0;
    }

    /* Contact Form Section */
    .contact-form-section {
        padding: 100px 0;
        background-color: rgba(255, 255, 255, 0.02);
    }

    .contact-form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .contact-form-content {
        max-width: 450px;
    }

    .contact-form-desc {
        font-size: 16px;
        line-height: 1.6;
        color: var(--gray-medium);
        margin-bottom: 40px;
    }

    .contact-quick-info {
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin-bottom: 40px;
    }

    .contact-info-item {
        display: flex;
        gap: 15px;
        align-items: flex-start;
    }

    .contact-info-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        background-color: rgba(224, 50, 54, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-info-icon svg {
        width: 20px;
        height: 20px;
        color: var(--primary);
    }

    .contact-info-item h4 {
        font-size: 16px;
        font-weight: 600;
        margin: 0 0 5px;
    }

    .contact-info-item p, .contact-info-item a {
        color: var(--gray-medium);
        margin: 0;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .contact-info-item a:hover {
        color: var(--primary);
    }

    .contact-social h4 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .contact-social-links {
        display: flex;
        gap: 15px;
    }

    .contact-social-link {
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
    }

    .contact-social-link:hover {
        background-color: var(--primary);
    }

    .contact-social-link svg {
        width: 18px;
        height: 18px;
        color: var(--text);
    }


    .contact-form-group {
        margin-bottom: 25px;
    }

    .contact-form-group label {
        display: block;
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 8px;
        color: var(--gray-light);
    }

    .contact-form-group input, 
    .contact-form-group textarea {
        width: 100%;
        padding: 12px 15px;
        background-color: #d9dbdd;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        color: var(--text);
        font-size: 15px;
        transition: border-color 0.3s ease;
    }

    .contact-form-group input:focus, 
    .contact-form-group textarea:focus {
        outline: none;
        border-color: var(--primary);
    }

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

    .contact-form-row-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .form-checkbox a {
        color: var(--primary);
        text-decoration: none;
    }

    .contact-submit-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 14px 20px;
        background-color: var(--primary);
        color: var(--text);
        border: none;
        border-radius: 4px;
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .contact-submit-btn:hover {
        background-color: #c82a2e;
    }

    .contact-submit-btn svg {
        width: 18px;
        height: 18px;
        transition: transform 0.3s ease;
    }

    .contact-submit-btn:hover svg {
        transform: translateX(5px);
    }

    /* Contact CTA Section */
    .contact-cta-section {
        padding: 80px 0;
        background: linear-gradient(to right, rgba(224, 50, 54, 0.05), rgba(28, 26, 48, 0.1));
        text-align: center;
    }

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

    .contact-cta-title {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .contact-cta-desc {
        font-size: 18px;
        color: var(--gray-medium);
        margin-bottom: 30px;
    }

    .contact-cta-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .contact-cta-btn {
        display: inline-block;
        padding: 14px 30px;
        font-weight: 600;
        border-radius: 4px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .contact-cta-btn.primary {
        background-color: var(--primary);
        color: var(--text);
        border: 2px solid var(--primary);
    }

    .contact-cta-btn.primary:hover {
        background-color: transparent;
        color: var(--primary);
    }

    .contact-cta-btn.secondary {
        background-color: transparent;
        color: var(--text);
        border: 2px solid var(--gray-light);
    }

    .contact-cta-btn.secondary:hover {
        background-color: var(--gray-light);
        color: var(--background);
    }

    #map {
        height: 500px;
        border-radius: 8px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }
    .location-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 15px;
    }
    .location-button {
        padding: 8px 15px;
        background-color: #FF4C4C;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s, transform 0.2s;
        font-size: 0.9rem;
    }
    .location-button:hover {
        background-color: #580e0e;
        transform: translateY(-2px);
    }
    .location-button.all {
        background-color: #E03236;
    }
    .location-button.all:hover {
        background-color: #580e0e;
    }
    .leaflet-popup-content-wrapper {
        border-radius: 4px;
        background-color: #1A1A2E;
        color: white;
        border: 1px solid #FF4C4C;
    }
    .leaflet-popup-content {
        font-size: 14px;
        line-height: 1.5;
        padding: 10px;
        color: white;
    }
    .popup-title {
        font-weight: bold;
        margin-bottom: 5px;
        color: #580e0e;
    }
    .custom-marker-icon {
        background-color: #FF4C4C;
        border-radius: 50%;
        border: 2px solid white;
        width: 12px !important;
        height: 12px !important;
        margin-left: -8px !important;
        margin-top: -8px !important;
    }
    .leaflet-popup-close-button {
        color: #FF4C4C;
    }

    .leaflet-container {
        background-color: #0F0F1E;
    }
    /* Responsive Styles */
    @media (max-width: 1024px) {
        .contact-map-row,
        .contact-form-row {
            grid-template-columns: 1fr;
            gap: 50px;
        }
        
        .contact-map-content,
        .contact-form-content {
            max-width: 100%;
            margin-bottom: 30px;
        }
    }

    @media (max-width: 768px) {
        .contact-info-section,
        .contact-map-section,
        .contact-form-section {
            padding: 60px 0;
        }
        
        .contact-offices-grid {
            grid-template-columns: 1fr;
        }
        
        .contact-form-row-2 {
            grid-template-columns: 1fr;
            gap: 25px;
        }
        
        .contact-cta-buttons {
            flex-direction: column;
            gap: 15px;
        }
        
        .contact-cta-btn {
            display: block;
        }
    }


    /* About Section */
    /* Hero Section Backgrounds */
    .about-hero {
        background: url('../images/about-hero.webp') no-repeat center center;
        background-size: cover;
    }

    /* About Intro Section */
    .about-intro {
        background-color: rgba(255, 255, 255, 0.02);
    }

    .about-intro-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

    .about-intro-text {
        max-width: 600px;
    }

    .about-intro-image {
        position: relative;
        border-radius: 4px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }

    .about-intro-image img {
        width: 100%;
        height: auto;
        display: block;
    }

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

    .value-card {
        background-color: rgba(255, 255, 255, 0.03);
        border-radius: 4px;
        padding: 2.5rem;
        transition: transform 0.3s ease;
        text-align: center;
    }

    .value-card:hover {
        transform: translateY(-10px);
    }

    .value-icon {
        width: 70px;
        height: 70px;
        background-color: rgba(224, 50, 54, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
    }

    .value-icon svg {
        width: 35px;
        height: 35px;
        color: var(--primary);
    }

    .value-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .value-desc {
        color: var(--gray-medium);
    }

    /* Timeline Section */
    .timeline-section {
        position: relative;
        overflow: hidden;
    }

    .timeline {
        position: relative;
        max-width: 1000px;
        margin: 0 auto;
        padding: 2rem 0;
    }

    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        width: 2px;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateX(-50%);
    }

    .timeline-item {
        position: relative;
        width: 50%;
        padding: 2rem;
        transition: transform 0.3s ease;
    }

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

    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: right;
    }

    .timeline-item:nth-child(even) {
        left: 50%;
        text-align: left;
    }

    .timeline-dot {
        position: absolute;
        top: 2.5rem;
        width: 20px;
        height: 20px;
        background-color: var(--primary);
        border-radius: 50%;
        border: 4px solid var(--background);
    }

    .timeline-item:nth-child(odd) .timeline-dot {
        right: -10px;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: -10px;
    }

    .timeline-date {
        display: inline-block;
        padding: 0.5rem 1rem;
        background-color: rgba(224, 50, 54, 0.1);
        color: var(--primary);
        font-weight: 600;
        border-radius: 4px;
        margin-bottom: 1rem;
    }

    .timeline-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .timeline-content {
        color: var(--gray-medium);
    }

/* Mission & Vision Section */
.mission-vision {
        background-color: rgba(255, 255, 255, 0.02);
    }

    .mission-vision-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .mission-card, .vision-card {
        background-color: rgba(255, 255, 255, 0.03);
        border-radius: 4px;
        padding: 3rem;
        position: relative;
        overflow: hidden;
    }

    .mission-card::before, .vision-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background-color: var(--primary);
    }

    .mission-vision-subtitle {
        color: var(--primary);
        font-weight: 600;
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .mission-vision-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .mission-vision-desc {
        color: var(--gray-light);
        margin-bottom: 2rem;
    }

    /* Team Section */
    .team-section {
        position: relative;
        overflow: hidden;
    }

    .team-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 3rem;
    }

    .team-card {
        background-color: rgba(255, 255, 255, 0.03);
        border-radius: 4px;
        overflow: hidden;
        transition: transform 0.3s ease;
    }

    .team-card:hover {
        transform: translateY(-10px);
    }

    .team-image {
        width: 100%;
        height: 320px;
        object-fit: cover;
        position: relative;
    }

    .team-info {
        padding: 2rem;
    }

    .team-name {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .team-position {
        color: var(--primary);
        font-weight: 500;
        margin-bottom: 1rem;
    }

    .team-bio {
        color: var(--gray-medium);
        margin-bottom: 1.5rem;
    }

    .team-social {
        display: flex;
        gap: 1rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
    }

    .social-icon:hover {
        background-color: var(--primary);
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
        color: var(--text);
    }

    /* Global Presence Section */

    .global-stat-item {
        text-align: center;
    }

    /* CTA Section */

    /* Responsive Styles */
    @media (max-width: 1024px) {
        .about-intro-content,
        .mission-vision-grid {
            grid-template-columns: 1fr;
            gap: 3rem;
        }
    }

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

        .timeline::before {
            left: 30px;
        }

        .timeline-item {
            width: 100%;
            padding-left: 70px;
            text-align: left;
        }

        .timeline-item:nth-child(odd) {
            left: 0;
            text-align: left;
        }

        .timeline-item:nth-child(even) {
            left: 0;
        }

        .timeline-item:nth-child(odd) .timeline-dot {
            right: auto;
            left: 20px;
        }

        .timeline-item:nth-child(even) .timeline-dot {
            left: 20px;
        }
    }


  /* Parrtners Section */

/* Hero Backgrounds */
.partners-hero {
    background: url('../images/partners-hero.webp') no-repeat center center;
    background-size: cover;
    padding: 120px 0 80px;
    background-color: #1C1A30;
    color: #FFFFFF;
    text-align: center;
}

/* Hero Section */

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

.partners-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(224, 50, 54, 0.2);
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-radius: 30px;
}

.partners-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text);
}

.partners-title span {
    color: var(--primary);
}

.partners-subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: 4rem;
}

.partners-desc {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text);
}

/* Partners Showcase */
.our-partners-section {
    padding: 60px 0;
}

.partners-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
}

.partners-heading span {
    color: #E03236;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.partner-item {
    border: 1px solid rgba(234, 234, 234, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.02);
    flex: 0 0 calc(25% - 2rem); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Media Queries */
@media (max-width: 1200px) {
    .partner-item {
        flex: 0 0 calc(33.33% - 2rem); 
    }
}

@media (max-width: 992px) {
    .partner-item {
        flex: 0 0 calc(33.33% - 2rem); 
    }
    
   
    .partner-item:nth-last-child(-n+3) {
        flex: 0 0 calc(33.33% - 2rem);
    }
}

@media (max-width: 768px) {
    .partner-item {
        flex: 0 0 calc(50% - 2rem); 
    }
    
 
    .partner-item:nth-last-child(-n+3) {
        flex: 0 0 calc(50% - 2rem);
    }
    
   
    .partner-item:last-child {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .partner-item {
        flex: 0 0 calc(100% - 2rem); 
    }
    
   
    .partner-item:nth-last-child(-n+3) {
        flex: 0 0 calc(100% - 2rem);
    }
}

/* Become a Partner Section */
.become-partner {
    padding: 80px 0;
    background-color: var(--background);
}

.partner-cta {
    text-align: center;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto;
}

.partner-cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.partner-cta p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.partner-btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.partner-btn:hover {
    background-color: #c82a2e;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .partners-title,
    .partners-intro h2,
    .map-title,
    .partner-cta h2 {
        font-size: 32px;
    }
    
    .partners-desc,
    .partners-intro p,
    .map-desc,
    .partner-cta p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-hero {
        padding: 80px 0 60px;
    }
    
    .partners-showcase,
    .partners-map {
        padding: 60px 0;
    }
    
    .partners-title,
    .partners-intro h2,
    .map-title,
    .partner-cta h2 {
        font-size: 28px;
    }
    
    .map-marker .marker-label {
        display: none;
    }
}

@media (max-width: 576px) {
    .partners-title,
    .partners-intro h2,
    .map-title,
    .partner-cta h2 {
        font-size: 24px;
    }
    
    .partner-btn {
        display: block;
        width: 100%;
    }
}



/* Services Page Styles */
/* Hero Backgrounds */
.nsection-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.nsection-title span {
    color: var(--primary);
}

.nservice-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.nservice-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 2rem;
    position: relative;
    z-index: 2;
}

.nservice-content {
    padding-top: 0.5rem;
}

.nservice-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.ntext-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.nsection-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.nsection-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(224, 50, 54, 0.1);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    border: 1px solid rgba(224, 50, 54, 0.2);
}

.nsection-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto;
}

.nservices-section {
    background-color: var(--bg-light);
    padding-top: 70px;
    padding-bottom: 70px;
}

.nservices-grid {
    position: relative;
    margin-top: 80px;
}

.nservices-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    z-index: 0;
    padding: 15px;

}

.nservice-item:last-child {
    margin-bottom: 0;
}

.nservice-item:hover .nservice-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.nservice-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-dark);
}

.services-hero {
    background: url('../images/services-hero.webp') no-repeat center center;
    background-size: cover;
}

/* Hero Section */
.service-hero {
    background-color: var(--bg-dark);
    padding: 120px 0 80px;
    color: var(--text-light);
    text-align: center;
}

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

.service-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(224, 50, 54, 0.2);
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border-radius: 4px;
}


/* Timeline Section */
.service-timeline {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.timeline-container {
    position: relative;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--primary);
    transform: translateX(-50%);
}

.services-timeline-item {
    position: relative;
    margin-bottom: 80px;
    width: 100%;
}

.services-timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.services-timeline-item.left .services-timeline-content {
    margin-right: calc(50% + 30px);
    text-align: right;
}

.services-timeline-item.right .services-timeline-content {
    margin-left: calc(50% + 30px);
}

.services-timeline-content {
    background-color: #d3d3d3;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    max-width: 80%;
}

.services-timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.services-timeline-item.left .services-timeline-content::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid white;
}

.services-timeline-item.right .services-timeline-content::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}

.services-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
}
.services-title span {
    color: #e03236;
}

.services-timeline-title {
    font-size: 24px;
    font-weight: 700;
    color: rgb(0, 0, 0);
    margin-bottom: 16px;
}
.services-timeline-title a {
    color: inherit; 
    text-decoration: none; 
    transition: color 0.3s ease; 
}

.services-timeline-title a:hover {
    color: var(--primary); 
}

.timeline-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #282727;
    margin: 0;
}

/* Expertise Section */
.service-expertise {
    padding: 100px 0;
    background-color: white;
}

.expertise-header {
    text-align: center;
    margin-bottom: 60px;
}


.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.expertise-item {
    padding: 24px;
    background-color: var(--bg-light);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.expertise-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 12px;
}

.expertise-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.expertise-item ul {
    padding-left: 20px;
    margin: 0;
}

.expertise-item li {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* CTA Section */
.service-cta {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
}

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

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c62a2e;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-title, 
    .section-title, 
    .cta-content h2 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }
    
    .timeline-marker {
        left: 20px;
        transform: none;
    }
    
    .services-timeline-item.left .services-timeline-content,
    .services-timeline-item.right .services-timeline-content {
        margin-left: 50px;
        margin-right: 0;
        text-align: left;
        max-width: calc(100% - 70px);
    }
    
    .services-timeline-item.left .services-timeline-content::after {
        right: auto;
        left: -10px;
        border-left: none;
        border-right: 10px solid white;
    }
    
    .service-title, 
    .section-title, 
    .cta-content h2 {
        font-size: 20px;
    }
    
    .service-desc, 
    .section-desc, 
    .cta-content p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .service-title, 
    .section-title, 
    .cta-content h2 {
        font-size: 20px;
    }
    
    .cta-button {
        display: block;
        width: 100%;
    }
}
.service-section-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--gray-medium);
    margin-bottom: 100px;
}
.service-header {
    text-align: center;
}


/* Media queries for Home page responsive design */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .about-grid {
      gap: 3rem;
    }
    
    .about-content h3 {
      font-size: 1.6rem;
    }
    
    .stat-item h4 {
      font-size: 2.2rem;
    }
  }
  
  /* Medium devices (tablets, less than 992px) */
  @media (max-width: 991.98px) {
    .about-grid {
      gap: 2.5rem;
    }
    
    .about-content h3 {
      font-size: 1.5rem;
      margin-bottom: 1.2rem;
    }
    
    .stat-box {
      padding: 1.5rem;
      gap: 1rem;
    }
    
    .stat-item h4 {
      font-size: 2rem;
    }
    
    .stat-item p {
      font-size: 0.9rem;
    }
  }
  
  /* Small devices (landscape phones, less than 768px) */
  @media (max-width: 767.98px) {
    .about-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .about-image {
      order: 1; /* Image first on mobile */
      margin-bottom: 1rem;
    }
    
    .about-content {
      order: 2; /* Content after image on mobile */
    }
    
    .about-content h3 {
      font-size: 1.4rem;
      text-align: center;
    }
    
    .stat-box {
      grid-template-columns: repeat(3, 1fr);
      gap: 0.8rem;
    }
    
    .stat-item h4 {
      font-size: 1.8rem;
    }
    
    .stat-item p {
      font-size: 0.85rem;
    }
  }
  
  /* Extra small devices (phones, less than 576px) */
  @media (max-width: 575.98px) {
    .about-grid {
      gap: 1.5rem;
    }
    
    .about-content h3 {
      font-size: 1.3rem;
      margin-bottom: 1rem;
    }
    
    .about-content p {
      margin-bottom: 1rem;
      font-size: 0.95rem;
    }
    
    .stat-box {
      padding: 1.2rem;
      margin-top: 1.5rem;
      grid-template-columns: 1fr; /* Stack stats vertically on mobile */
      gap: 1.2rem;
    }
    
    .stat-item {
      padding-bottom: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .stat-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }
    
    .stat-item h4 {
      font-size: 2rem;
    }
  }


  /* Base styles */

/* Media queries for responsive design */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .global-stat-item h4 {
        font-size: 2.6rem;
    }
    
    .global-stat-item p {
        font-size: 1.1rem;
    }
    
    .global-stats {
        padding: 2.5rem 1.5rem 1.5rem;
        gap: 1.5rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .section-subtitle {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .global-stat-item h4 {
        font-size: 2.2rem;
    }
    
    .global-stat-item p {
        font-size: 1rem;
    }
    
    .global-stats {
        padding: 2rem 1rem 1.5rem;
        gap: 1rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .section-subtitle {
        max-width: 90%;
    }
    
    .global-stats {
        padding: 1.8rem 1rem 1.2rem;
        gap: 0.8rem;
    }
    
    .global-stat-item h4 {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    
    .global-stat-item p {
        font-size: 0.9rem;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Convert to non-absolute positioning for mobile */
    .global-stats {
        position: relative;
        background: rgba(28, 26, 48, 0.9);
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 1.5rem;
    }
    
    .global-stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1.2rem;
    }
    
    .global-stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .global-stat-item h4 {
        font-size: 2.2rem;
    }
    
    .global-stat-item p {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
    }
}

/* Fix for very small phones */
@media (max-width: 359.98px) {
    .global-stat-item h4 {
        font-size: 2rem;
    }
    
    .global-stats {
        padding: 1.2rem 1rem;
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-title span {
    color: var(--primary);
}

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

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

.project-category {
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.btn.btn-primary {
    padding: 1rem 1.5rem;
    white-space: nowrap;
    height: 56px;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-medium);
}


.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(224, 50, 54, 0.1);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    border: 1px solid rgba(224, 50, 54, 0.2);
}

.see-more-card .btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.see-more-card .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.featured-project {
    background-color: #201E34;
    color: var(--text-light);
    padding: 70px 0;
}


.project-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.project-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 24px;
}

.project-stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.project-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-light);
    margin-bottom: 30px;
}

.project-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 20px;
    height: 20px;
    fill: var(--primary);
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(224, 50, 54, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.play-button:hover {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
    width: 40px;
    height: 40px;
    fill: var(--text-light);
}

.feature-icon img {
    width: 30px;
    height: 30px;
}


@media (max-width: 768px) {
   
    .project-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
   
    .project-image {
        order: -1; 
        margin-bottom: 15px;
        width: 100%;
    }
    
    .project-image img {
        width: 100%;
        max-height: 280px;
        object-fit: cover;
        border-radius: 10px;
    }
    
    .project-content {
        padding: 0 10px;
    }
    
    .project-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .project-category {
        text-align: center;
        display: block;
        margin-bottom: 10px;
    }
    
    .project-stats {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .project-features {
        margin-bottom: 25px;
    }
    
    .project-content .btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .project-image img {
        max-height: 220px;
    }
    
    .project-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .project-stat {
        text-align: center;
    }
}

 /* 404  Section */

/* Hero Backgrounds */
.error-404-hero {
    background: url('../images/404-hero.webp') no-repeat center center;
    background-size: cover;
}

/* 404 Hero Section */
.error404-hero {
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(to bottom, rgba(28, 26, 48, 0.7), rgba(28, 26, 48, 0.9));
}

.error404-hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.error404-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.error404-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.error404-desc {
    font-size: 1.2rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.error404-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
}

.error404-scroll-indicator span {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.error404-line {
    width: 1px;
    height: 40px;
    background-color: var(--gray-medium);
}

/* 404 Content Section */
.error404-content {
    padding: 6rem 0;
    background-color: rgba(255, 255, 255, 0.02);
}

.error404-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.error404-illustration {
    text-align: center;
}

.error404-options {
    width: 100%;
    max-width: 1000px;
}

.error404-options-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--text);
}

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

.error404-option-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.error404-option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.error404-option-card svg {
    color: #ffffff;
}

.error404-option-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.error404-option-desc {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.error404-search-form {
    width: 100%;
    margin-top: auto;
}

.error404-search-input-group {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.error404-search-field {
    flex: 1;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.error404-search-field:focus {
    outline: none;
}

.error404-search-submit {
    width: 50px;
    background-color: var(--primary);
    border: none;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error404-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    margin-top: auto;
}

.error404-btn-primary {
    background-color: var(--primary);
    color: var(--text);
}

.error404-btn-primary:hover {
    background-color: rgba(224, 50, 54, 0.8);
}

/* Related Content Section */
.error404-related-content {
    padding: 6rem 0;
    background-color: rgba(255, 255, 255, 0.01);
}

.error404-section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--text);
}

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

.error404-post-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.error404-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.error404-post-image {
    height: 220px;
}

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

.error404-post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.error404-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.error404-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.error404-post-category {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background-color: rgba(224, 50, 54, 0.1);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.error404-post-category:hover {
    background-color: var(--primary);
    color: var(--text);
}

.error404-post-date {
    color: var(--gray-medium);
    font-size: 0.85rem;
}

.error404-post-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.error404-post-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.error404-post-title a:hover {
    color: var(--primary);
}

.error404-post-excerpt {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.error404-post-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    transition: gap 0.3s ease;
    font-size: 0.95rem;
}

.error404-post-link:hover {
    gap: 0.8rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .error404-options-grid {
        grid-template-columns: 1fr;
    }
    
    .error404-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .error404-posts-grid {
        grid-template-columns: 1fr;
    }
}



/* Category  Section */

/* Category Hero Section */
.category-hero {
    min-height: 400px;
}

.category-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(28, 26, 48, 0.7), rgba(28, 26, 48, 0.9));
    z-index: 1;
}

.category-hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.category-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.post-count {
    display: inline-block;
    padding: 0.3rem 1rem;
    background-color: var(--primary);
    color: var(--text);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Category Content Section */
.category-content {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 6rem 0;
}

.category-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

/* Filter Options */

.filter-sort {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-sort label {
    color: var(--gray-medium);
}

.sort-select {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary);
}

.view-options {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--gray-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover,
.view-btn.active {
    background-color: var(--primary);
    color: var(--text);
    border-color: var(--primary);
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.posts-container.list-view-active .posts-grid {
    grid-template-columns: 1fr;
}

.post-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.posts-container.list-view-active .post-card {
    flex-direction: row;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.post-image {
    height: 220px;
}

.posts-container.list-view-active .post-image {
    flex: 0 0 270px;
    height: auto;
}

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

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-category:hover {
    background-color: var(--primary);
    color: var(--text);
}

.post-date {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.post-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--primary);
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.no-posts svg {
    color: var(--gray-medium);
    opacity: 0.5;
}

.no-posts h3 {
    font-size: 1.8rem;
    color: var(--text);
}

.no-posts p {
    color: var(--gray-medium);
    max-width: 500px;
    margin: 0 auto;
}

/* Pagination */

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.8rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background-color: var(--primary);
    border-color: var(--primary);
}

.pagination .page-numbers:hover:not(.current) {
    background-color: rgba(255, 255, 255, 0.1);
}

.pagination .prev,
.pagination .next {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Sidebar */
.category-sidebar {
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

/* Search Widget */
.search-input-group {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    height: 46px;
}

.search-field {
    flex: 1;
    padding: 0 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    height: 100%;
}

.search-field:focus {
    outline: none;
}


/* Categories Widget */
.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 0.8rem;
}

.categories-list li a {
    display: flex;
    justify-content: space-between;
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.categories-list li a:hover {
    color: var(--primary);
}

.categories-list li.current-cat a {
    color: var(--primary);
    font-weight: 500;
}

/* Recent Posts Widget */
.recent-post {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.recent-post:last-child {
    margin-bottom: 0;
}

.recent-post-content {
    flex: 1;
}

.recent-post-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-title a:hover {
    color: var(--primary);
}

/* Tags Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--gray-light);
    border-radius: 30px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.blog-tag:hover {
    background-color: var(--primary);
    color: var(--text);
}

/* Newsletter Section */
.newsletter {
    text-align: center;
    padding: 8rem 0;
    background: linear-gradient(to right, rgba(224, 50, 54, 0.05), rgba(28, 26, 48, 0.1));
}

.newsletter-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

.subscription-form .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.subscription-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text);
    font-size: 1rem;
}

.subscription-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
}

.form-consent input[type="checkbox"] {
    margin-top: 0.3rem;
}

.form-consent label {
    color: var(--gray-medium);
    font-size: 0.9rem;
    line-height: 1.4;
}
.search-submit svg {
    margin-bottom: 7px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .category-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .category-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .posts-container.grid-view-active .post-card {
        flex-direction: column;
    }
    
    .posts-container.grid-view-active .post-image {
        height: 200px;
        width: 100%;
    }
    
    .posts-container.list-view-active .post-card {
        flex-direction: row;
        align-items: center;
        padding: 12px;
        gap: 15px;
    }
    
    .posts-container.list-view-active .post-image {
        flex: 0 0 35%; 
        height: 110px;
        max-width: 110px;
        border-radius: 4px;
        overflow: hidden;
    }
    
    .posts-container.list-view-active .post-content {
        flex: 1;
    }
    
    .posts-container.list-view-active .post-meta {
        margin-bottom: 5px;
    }
    
    .posts-container.list-view-active .post-title {
        font-size: 1rem;
        margin-bottom: 5px;
        line-height: 1.3;
    }
    
    .posts-container.list-view-active .post-excerpt,
    .posts-container.list-view-active .post-link {
        display: none;
    }
    
    .subscription-form .form-group {
        flex-direction: column;
    }
    .search-input-group {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .search-field {
        padding: 0.75rem;
        font-size: 0.9rem;
        height: 40px;
    }
    
    .search-submit {
        height: 40px;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .search-submit svg {
        width: 14px;
        height: 14px;
        margin-bottom: 7px;
    }
}
@media (max-width: 480px) {
    .search-field {
        padding: 0.6rem;
        height: 50px;
        font-size: 0.85rem;
    }
    
    .search-submit {
        height: 36px;
        width: 36px;
    }
}


    /* Tag Hero Section */
    .tag-hero {
        min-height: 400px;
    }
    
    .tag-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(28, 26, 48, 0.7), rgba(28, 26, 48, 0.9));
        z-index: 1;
    }
    
    .tag-hero-content {
        max-width: 900px;
        text-align: center;
        margin: 0 auto;
    }
    
    .tag-meta {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    /* Tag Content Section */
    .tag-content {
        background-color: rgba(255, 255, 255, 0.02);
        padding: 6rem 0;
    }
    
    .tag-wrapper {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
    
    /* Filter Options */
    
    /* Posts Grid */
    
    .post-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .post-tag {
        display: inline-block;
        padding: 0.2rem 0.8rem;
        background-color: rgba(224, 50, 54, 0.1);
        color: var(--primary);
        border-radius: 30px;
        font-size: 0.8rem;
        font-weight: 500;
        text-decoration: none;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    .post-tag:hover {
        background-color: var(--primary);
        color: var(--text);
    }
    
    /* No Posts */
    
    /* Pagination */
    
    /* Sidebar */
    .tag-sidebar {
        position: sticky;
        top: 120px;
        align-self: flex-start;
    }
    
    /* Search Widget */
    
    .search-submit {
        width: 50px;
        height: 50px;
        background-color: var(--primary);
        border: none;
        color: var(--text);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Tags Cloud */
    
    .blog-tag.current-tag {
        background-color: var(--primary);
        color: var(--text);
    }
    
    /* Categories Widget */
    
    /* Recent Posts Widget */
    
    /* Newsletter Section */
    
    /* Responsive Styles */
    @media (max-width: 1024px) {
        .tag-wrapper {
            grid-template-columns: 1fr;
            gap: 3rem;
        }
    }

    /* single Blog Section */

    
    /* Blog Hero Section */
    
    .blog-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(28, 26, 48, 0.7), rgba(28, 26, 48, 0.9));
        z-index: 1;
    }
    
    .blog-hero-content {
        max-width: 900px !important;
        text-align: center !important;
        margin: 0 auto !important;
        z-index: 2 !important;
    }
    
    .post-author {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    
    .author-avatar img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
    }
    
    .author-name {
        color: var(--gray-light);
        font-weight: 500;
    }
    
    /* Blog Content Section */
    
    .blog-wrapper {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
    
    .blog-article {
        color: var(--gray-light);
        line-height: 1.8;
        font-size: 1.1rem;
    }
    
    .blog-article h2 {
        color: var(--text);
        font-size: 2rem;
        margin: 2.5rem 0 1.5rem;
    }
    
    .blog-article h3 {
        color: var(--text);
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
    }
    
    .blog-article p {
        margin-bottom: 1.5rem;
    }
    
    .blog-article img {
        max-width: 100%;
        height: auto;
        border-radius: 4px;
        margin: 2rem 0;
    }
    
    .blog-article blockquote {
        border-left: 4px solid var(--primary);
        padding: 1.5rem 2rem;
        margin: 2rem 0;
        background-color: rgba(255, 255, 255, 0.03);
        font-style: italic;
    }
    
    .blog-article ul, 
    .blog-article ol {
        margin-left: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .blog-article a {
        color: var(--primary);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .blog-article a:hover {
        text-decoration: underline;
    }
    
    /* Blog Tags */
    .blog-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin: 3rem 0;
    }
    
    /* Blog Share */
    .blog-share {
        margin: 3rem 0;
        padding: 2rem;
        background-color: rgba(255, 255, 255, 0.03);
        border-radius: 4px;
    }
    
    .blog-share h3 {
        margin-bottom: 1.5rem;
        font-size: 1.3rem;
    }
    
    .share-buttons {
        display: flex;
        gap: 1rem;
    }
    
    .share-button {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.8rem 1.5rem;
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--text);
        border-radius: 4px;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }
    
    .share-button:hover {
        background-color: var(--primary);
    }
    
    /* Blog Author Box */
    .blog-author-box {
        display: flex;
        gap: 2rem;
        padding: 2rem;
        background-color: rgba(255, 255, 255, 0.03);
        border-radius: 4px;
    }
    
    .blog-author-box .author-avatar img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
    }
    
    .author-info {
        display: flex;
        flex-direction: column;
    }
    
    .author-info .author-name {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        color: var(--text);
    }
    
    .author-info .author-bio {
        color: var(--gray-medium);
        margin-bottom: 1rem;
        line-height: 1.6;
    }
    
    .author-info .author-link {
        color: var(--primary);
        text-decoration: none;
        align-self: flex-start;
    }
    
    .author-info .author-link:hover {
        text-decoration: underline;
    }
    
    /* Blog Sidebar */
    
    .related-post {
        display: flex;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .related-post:last-child {
        margin-bottom: 0;
    }
    
    .related-post-image {
        flex: 0 0 80px;
    }
    
    .related-post-image img {
        width: 80px;
        height: 80px;
        border-radius: 4px;
        object-fit: cover;
    }
    
    .related-post-content {
        flex: 1;
    }
    
    .related-post-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
    
    .related-post-title a {
        color: var(--text);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .related-post-title a:hover {
        color: var(--primary);
    }
    
    .related-post-date {
        font-size: 0.85rem;
        color: var(--gray-medium);
    }
    
    /* Related Posts Slider */
    .related-posts {
        padding: 6rem 0;
        background-color: rgba(255, 255, 255, 0.01);
    }
    
    .posts-slider {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 3rem;
    }
    
    /* Comments Section */
    .blog-comments {
        padding: 6rem 0;
        background-color: rgba(255, 255, 255, 0.02);
    }
    
    .comments-wrapper {
        max-width: 800px;
        margin: 0 auto;
    }
    
    /* Newsletter Section */
    
    /* Responsive Styles */
    @media (max-width: 1024px) {
        .blog-wrapper {
            grid-template-columns: 1fr;
            gap: 3rem;
        }
        
        .posts-slider {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (max-width: 768px) {
        .post-meta {
            flex-direction: column;
            gap: 1rem;
        }
        
        .share-buttons {
            flex-direction: column;
        }
        
        .blog-author-box {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        .author-info .author-link {
            align-self: center;
        }
        
        .posts-slider {
            grid-template-columns: 1fr;
        }
    }




    /* single Blog Section */
    /* Blog Hero Section */
    
    /* Blog Content Section */
    
    /* Blog Tags */
    
    /* Blog Share */
    
    /* Blog Author Box */
    
    /* Blog Sidebar */
    
    /* Related Posts Slider */
    
    /* Comments Section */
    
    /* Newsletter Section */
    
    /* Responsive Styles */


        
     /* single services Section */

    /* Main Content Section */
    .main-content {
        background-color: rgba(255, 255, 255, 0.02);
        padding: 6rem 0;
    }

    .content-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .featured-image {
        border-radius: 4px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        margin-bottom: 2rem;
    }

    .content-image {
        width: 100%;
        height: auto;
        display: block;
    }

    .page-content {
        color: var(--gray-light);
        line-height: 1.8;
    }

    .page-content h2 {
        color: var(--text);
        font-size: 2rem;
        margin: 2rem 0 1rem;
    }

    .page-content h3 {
        color: var(--text);
        font-size: 1.5rem;
        margin: 1.5rem 0 1rem;
    }

    .page-content p {
        margin-bottom: 1.5rem;
    }

    .page-content ul, 
    .page-content ol {
        margin-left: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .page-content a {
        color: var(--primary);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .page-content a:hover {
        text-decoration: underline;
    }

    .page-content blockquote {
        border-left: 4px solid var(--primary);
        padding-left: 1.5rem;
        font-style: italic;
        margin: 2rem 0;
    }

    /* Feature Boxes Section */
    .feature-boxes {
        padding: 6rem 0;
    }

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

    .feature-card {
        background-color: rgba(255, 255, 255, 0.03);
        border-radius: 4px;
        padding: 2.5rem;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        overflow: hidden;
        height: 100%;
        min-height: 300px;
        display: flex;
        flex-direction: column;
    }

    .feature-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 0;
        background-color: var(--primary);
        transition: height 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .feature-card:hover::before {
        height: 100%;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .feature-icon img {
        width: 30px;
        height: 30px;
    }

    .feature-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-desc {
        color: var(--gray-medium);
        margin-bottom: 1.5rem;
        flex-grow: 1;
    }

    /* CTA Section */

    /* Responsive Styles */
    @media (max-width: 1024px) {
        .content-wrapper {
            grid-template-columns: 1fr;
        }
    }

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


            /* Search Section */

    /* Search Hero Section */
    
    .search-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(28, 26, 48, 0.7), rgba(28, 26, 48, 0.9));
        z-index: 1;
    }
    
    .search-hero-content {
        max-width: 800px;
        text-align: center;
        margin: 0 auto;
    }
    
    .search-hero-form {
        margin-top: 2rem;
        width: 100%;
    }
    
    .search-page-input-group {
        display: flex;
        max-width: 600px;
        margin: 0 auto;
        border-radius: 4px;
        overflow: hidden;
    }
    
    .search-page-input {
        flex: 1;
        padding: 1rem 1.5rem;
        border: none;
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--text);
        font-size: 1.1rem;
    }
    
    .search-page-input:focus {
        outline: none;
    }
    
    .search-page-submit {
        padding: 0 1.5rem;
        background-color: var(--primary);
        border: none;
        color: var(--text);
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .search-page-submit:hover {
        background-color: rgba(224, 50, 54, 0.8);
    }
    
    /* Search Results Section */
    .search-results-section {
        padding: 6rem 0;
    }
    
    .search-results-count {
        margin-bottom: 3rem;
        font-size: 1.2rem;
        color: var(--gray-medium);
    }
    
    .search-results-count span {
        color: var(--primary);
        font-weight: 700;
    }
    
    .search-results-grid {
        display: grid;
        grid-gap: 3rem;
    }
    
    .search-result-card {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 2rem;
        background-color: rgba(255, 255, 255, 0.03);
        border-radius: 4px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .search-result-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    
    .search-result-image {
        height: 100%;
    }
    
    .search-result-thumbnail {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .search-result-content {
        padding: 2rem;
        display: flex;
        flex-direction: column;
    }
    
    .search-result-meta {
        display: flex;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .search-result-type {
        color: var(--primary);
        font-weight: 500;
        font-size: 0.9rem;
    }
    
    .search-result-date {
        color: var(--gray-medium);
        font-size: 0.9rem;
    }
    
    .search-result-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .search-result-title a {
        color: var(--text);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .search-result-title a:hover {
        color: var(--primary);
    }
    
    .search-result-excerpt {
        color: var(--gray-medium);
        margin-bottom: 1.5rem;
        line-height: 1.6;
        flex-grow: 1;
    }
    
    .search-result-link {
        color: var(--primary);
        font-weight: 500;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: gap 0.3s ease;
        margin-top: auto;
    }
    
    .search-result-link:hover {
        gap: 0.8rem;
    }
    
    /* Pagination */
    .search-pagination {
        margin-top: 4rem;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }
    
    .search-pagination .page-numbers {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 1rem;
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--text);
        border-radius: 4px;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }
    
    .search-pagination .page-numbers.current {
        background-color: var(--primary);
        font-weight: 600;
    }
    
    .search-pagination .page-numbers:hover:not(.current) {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .search-pagination svg {
        margin: 0 0.3rem;
    }
    
    /* No Results */
    .search-no-results {
        text-align: center;
        padding: 4rem 0;
    }
    
    .search-no-results-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(224, 50, 54, 0.1);
        border-radius: 50%;
    }
    
    .search-no-results-icon svg {
        color: var(--primary);
    }
    
    .search-no-results-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .search-no-results-text {
        color: var(--gray-medium);
        max-width: 600px;
        margin: 0 auto 2rem;
        line-height: 1.6;
    }
    
    .search-no-results-form {
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Popular Searches Section */
    .search-popular-searches {
        padding: 6rem 0;
        background-color: rgba(255, 255, 255, 0.01);
        text-align: center;
    }
    
    .search-popular-searches-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        margin-top: 3rem;
    }
    
    .search-popular-tag {
        display: inline-block;
        padding: 0.8rem 1.5rem;
        background-color: rgba(255, 255, 255, 0.03);
        color: var(--gray-light);
        border-radius: 30px;
        font-size: 0.95rem;
        text-decoration: none;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    .search-popular-tag:hover {
        background-color: var(--primary);
        color: var(--text);
    }
    
    /* CTA Section */
    .search-cta {
        text-align: center;
        padding: 8rem 0;
        background: linear-gradient(to right, rgba(224, 50, 54, 0.05), rgba(28, 26, 48, 0.1));
    }
    
    .search-cta-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
        max-width: 800px;
        margin: 0 auto 2rem;
        line-height: 1.2;
    }
    
    .search-cta-subtitle {
        font-size: 1.2rem;
        color: var(--gray-medium);
        max-width: 600px;
        margin: 0 auto 3rem;
    }
    
    /* Responsive Styles */
    @media (max-width: 768px) {
        .search-result-card {
            grid-template-columns: 1fr;
        }
        
        .search-result-image {
            height: 200px;
        }
    }


    
    /* page Section */

    /* Main Content Section */

    /* Feature Boxes Section */

    /* CTA Section */

    /* Responsive Styles */
    @media (max-width: 1024px) {
    }

    @media (max-width: 768px) {
    }

    /* 
 * Phakarin Comments Styling
 * Custom styling for the comments section
 */

/* Main comments container */
.phk-comments-area {
    margin-top: 3rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-family: 'Inter', 'Arial', sans-serif;
}

/* Comments title */
.phk-comments-title {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    color: #fff;
    text-align: center;
    padding-bottom: 1rem;
}

.phk-comments-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary, #e03236);
    border-radius: 3px;
}

/* Comments list */
.phk-comments-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.phk-comments-list .children {
    list-style: none;
    margin-left: 4rem;
    margin-top: 1.5rem;
    padding: 0;
    position: relative;
}

.phk-comments-list .children::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Individual comment box */
.phk-comment-body {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid var(--primary, #e03236);
}

.phk-comment-body:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Comment author information */
.phk-comment-author {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.phk-comment-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
}

.phk-comment-body:hover .phk-comment-author img {
    border-color: var(--primary, #e03236);
}

.phk-comment-author-info {
    display: flex;
    flex-direction: column;
}

.phk-comment-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #fff;
}

.phk-comment-metadata {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.phk-comment-metadata a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phk-comment-metadata a:hover {
    color: var(--primary, #e03236);
}

/* Comment content */
.phk-comment-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.phk-comment-content p:last-child {
    margin-bottom: 0;
}

/* Moderation notice */
.phk-comment-awaiting-moderation {
    background-color: rgba(224, 50, 54, 0.1);
    color: var(--primary, #e03236);
    padding: 0.8rem 1rem;
    border-radius: 4px;
    margin: 0.5rem 0;
    font-size: 0.9rem;
    text-align: center;
    border-left: 3px solid var(--primary, #e03236);
}

/* Reply link */
.phk-comment-reply {
    text-align: right;
    margin-top: 1rem;
}

.phk-comment-reply a {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 30px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phk-comment-reply a:hover {
    background-color: var(--primary, #e03236);
    color: #fff;
    transform: translateY(-3px);
}

/* Comment form */
.phk-comment-form {
    margin-top: 3rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.phk-comment-reply-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    position: relative;
    color: #fff;
    text-align: center;
    padding-bottom: 1rem;
}

.phk-comment-reply-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary, #e03236);
    border-radius: 3px;
}

.phk-comment-notes {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-size: 0.9rem;
}

.phk-comment-required {
    color: var(--primary, #e03236);
}

/* Form groups */
.phk-comment-form-group {
    margin-bottom: 1.5rem;
}

.phk-comment-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.phk-comment-form-group input,
.phk-comment-form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Inter', 'Arial', sans-serif;
}

.phk-comment-form-group input:focus,
.phk-comment-form-group textarea:focus {
    outline: none;
    border-color: var(--primary, #e03236);
    box-shadow: 0 0 0 3px rgba(224, 50, 54, 0.2);
}

.phk-comment-form-group input::placeholder,
.phk-comment-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.phk-comment-form-comment textarea {
    height: 180px;
    resize: vertical;
}

/* Checkboxes */
.phk-comment-form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.phk-comment-form-consent input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.phk-comment-form-consent label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: normal;
}

/* Submit button */
.phk-comment-form-submit {
    margin-top: 1.5rem;
    text-align: center;
}

.phk-comment-submit {
    padding: 0.8rem 2.5rem;
    background-color: var(--primary, #e03236);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', 'Arial', sans-serif;
}

.phk-comment-submit:hover {
    background-color: #c52a2e;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(224, 50, 54, 0.2);
}

/* CAPTCHA */
.phk-comment-captcha-container {
    margin-bottom: 1.5rem;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary, #e03236);
}

.phk-comment-captcha-container label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.phk-captcha-field {
    width: 100%;
    max-width: 150px;
    padding: 0.8rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', 'Arial', sans-serif;
}

.phk-captcha-field:focus {
    outline: none;
    border-color: var(--primary, #e03236);
}

/* Comments navigation */
.phk-comments-navigation {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}

.phk-comments-nav-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.phk-comments-nav-previous a,
.phk-comments-nav-next a {
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.phk-comments-nav-previous a:hover,
.phk-comments-nav-next a:hover {
    background-color: var(--primary, #e03236);
    transform: translateY(-3px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .phk-comments-list .children {
        margin-left: 1.5rem;
    }
    
    .phk-comment-body {
        padding: 1.2rem;
    }
    
    .phk-comment-author img {
        width: 50px;
        height: 50px;
    }
    
    .phk-comment-form {
        padding: 1.5rem;
    }
    
    .phk-comment-reply-title,
    .phk-comments-title {
        font-size: 1.4rem;
    }
}

/* Hide honeypot field */
.phk-honeypot-field {
    display: none !important;
    opacity: 0;
    position: absolute;
    left: -9999px;
}


/* Modal styles */
.phk-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.phk-modal-content {
    background-color: rgba(28, 26, 48, 0.95);
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--primary, #e03236);
    animation: phkModalOpen 0.3s ease-out;
}

@keyframes phkModalOpen {
    from {transform: translateY(-20px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

.phk-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.phk-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #fff;
}

.phk-modal-body {
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.phk-modal-footer {
    padding: 1rem 1.5rem;
    text-align: right;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.phk-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.2s ease;
}

.phk-modal-close:hover {
    color: var(--primary, #e03236);
}

.phk-error {
    color: var(--primary, #e03236);
}

.phk-error-list {
    margin: 0;
    padding-left: 1.5rem;
}

.phk-error-list li {
    margin-bottom: 0.5rem;
}

.phk-input-error {
    border-color: var(--primary, #e03236) !important;
    box-shadow: 0 0 0 2px rgba(224, 50, 54, 0.2) !important;
}

.phk-comment-form-captcha {
    background: #f8f9fa;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    margin: 15px 0;
}

.phk-comment-form-captcha label {
    font-weight: bold;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

.phk-comment-form-captcha input[type="number"] {
    width: 100px;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
}

.phk-captcha-help {
    display: block;
    margin-top: 5px;
    color: #6c757d;
    font-size: 12px;
}

.phk-comment-help {
    display: block;
    margin-top: 5px;
    color: #6c757d;
    font-size: 12px;
}

.phk-comment-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.phk-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.phk-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: none;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.phk-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.phk-modal-close:hover {
    color: #000;
}
/* =========================================================
   Partners Page — Professional Redesign v3.1.0
   Scoped under .phk-partners-page to avoid legacy conflicts.
   ========================================================= */

.phk-partners-page {
    --phk-navy: #17172a;
    --phk-navy-2: #1d1d33;
    --phk-navy-3: #25253d;
    --phk-red: #ef3438;
    --phk-red-dark: #c92229;
    --phk-white: #ffffff;
    --phk-muted: rgba(255, 255, 255, 0.67);
    --phk-line: rgba(255, 255, 255, 0.09);
    --phk-card: rgba(255, 255, 255, 0.035);
    background: var(--phk-navy);
    color: var(--phk-white);
    overflow: hidden;
}

.phk-partners-page .section {
    position: relative;
    padding: clamp(5rem, 8vw, 8.5rem) 0;
}

.phk-partners-hero {
    position: relative;
    min-height: min(900px, 92vh);
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.phk-partners-hero-media,
.phk-partners-hero-overlay {
    position: absolute;
    inset: 0;
}

.phk-partners-hero-media {
    z-index: -3;
    background:
        url('../images/partners-hero.webp') center center / cover no-repeat;
    transform: scale(1.02);
}

.phk-partners-hero-overlay {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(17, 17, 33, 0.96) 0%, rgba(17, 17, 33, 0.88) 42%, rgba(17, 17, 33, 0.48) 72%, rgba(17, 17, 33, 0.70) 100%),
        linear-gradient(180deg, rgba(17, 17, 33, 0.28) 0%, rgba(17, 17, 33, 0.55) 100%);
}

.phk-partners-hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: -220px;
    width: 760px;
    height: 500px;
    border-radius: 50%;
    background: rgba(239, 52, 56, 0.19);
    filter: blur(130px);
    pointer-events: none;
}

.phk-partners-hero-inner {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
    padding-top: 8rem;
    padding-bottom: 7rem;
}

.phk-partners-hero-copy {
    max-width: 860px;
}

.phk-partners-eyebrow,
.phk-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #ff5b60;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.phk-partners-eyebrow::before,
.phk-section-kicker::before {
    content: '';
    width: 34px;
    height: 2px;
    background: var(--phk-red);
}

.phk-partners-hero h1 {
    margin: 1.2rem 0 1.4rem;
    max-width: 860px;
    color: #fff;
    font-size: clamp(3.2rem, 6.8vw, 7.1rem);
    line-height: 0.94;
    font-weight: 800;
    letter-spacing: -0.055em;
}

.phk-partners-hero h1 span,
.phk-section-heading h2 span {
    color: var(--phk-red);
}

.phk-partners-hero-copy > p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.85;
}

.phk-partners-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2.15rem;
}

.phk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.9rem 1.35rem;
    border-radius: 8px;
    font-size: 0.93rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.phk-btn:hover {
    transform: translateY(-2px);
}

.phk-btn--primary {
    color: #fff;
    background: var(--phk-red);
    border: 1px solid var(--phk-red);
    box-shadow: 0 12px 30px rgba(239, 52, 56, 0.22);
}

.phk-btn--primary:hover {
    background: #ff4247;
    border-color: #ff4247;
}

.phk-btn--ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.phk-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
}

.phk-btn--large {
    min-width: 190px;
    min-height: 58px;
}

.phk-partners-hero-stats {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px);
}

.phk-partners-stat {
    display: grid;
    grid-template-columns: 92px 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.45rem;
    background: rgba(20, 20, 37, 0.72);
}

.phk-partners-stat + .phk-partners-stat {
    border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.phk-partners-stat strong {
    font-size: 2.25rem;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.04em;
}

.phk-partners-stat span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.45;
}

.phk-partners-scroll {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.63);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.phk-partners-scroll i {
    display: block;
    width: 1px;
    height: 38px;
    background: linear-gradient(#fff, transparent);
}

.phk-partner-network {
    background:
        radial-gradient(circle at 10% 20%, rgba(239, 52, 56, 0.07), transparent 28%),
        var(--phk-navy);
}

.phk-section-heading {
    margin-bottom: clamp(2.6rem, 5vw, 4.6rem);
}

.phk-section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
}

.phk-section-heading--center {
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.phk-section-heading--center .phk-section-kicker {
    justify-content: center;
}

.phk-section-heading--center .phk-section-kicker::before {
    display: none;
}

.phk-section-heading h2 {
    margin: 0.85rem 0 0;
    color: #fff;
    font-size: clamp(2.4rem, 4.5vw, 4.8rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.phk-section-heading > p,
.phk-section-heading--center > p {
    margin: 0;
    color: var(--phk-muted);
    font-size: 1rem;
    line-height: 1.85;
}

.phk-section-heading--center > p {
    margin-top: 1.25rem;
}

.phk-partner-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.phk-partner-card {
    position: relative;
    min-height: 250px;
    padding: 1rem;
    overflow: hidden;
    border: 1px solid var(--phk-line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.phk-partner-card:hover {
    transform: translateY(-7px);
    border-color: rgba(239, 52, 56, 0.35);
    background: linear-gradient(180deg, rgba(239,52,56,0.07), rgba(255,255,255,0.02));
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.17);
}

.phk-partner-card-index {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 2;
    color: rgba(15, 23, 42, 0.38);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.phk-partner-logo-panel {
    min-height: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.35rem;
    border-radius: 13px;
    background: linear-gradient(180deg, #ffffff 0%, #f0f2f5 100%);
}

.phk-partner-logo {
    width: auto;
    max-width: 84%;
    max-height: 72px;
    object-fit: contain;
    filter: none;
}

.phk-partner-card-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0.2rem 0.15rem;
}

.phk-partner-card-meta h3 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 750;
}

.phk-partner-card-meta p {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.8rem;
}

.phk-partner-card-mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    color: var(--phk-red);
    background: rgba(255, 255, 255, 0.025);
}

.phk-partnership-model {
    background: var(--phk-navy-2);
    border-top: 1px solid rgba(255, 255, 255, 0.045);
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.phk-partnership-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: relative;
}

.phk-partnership-steps::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 27px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239,52,56,0.45), rgba(255,255,255,0.1), rgba(239,52,56,0.45), transparent);
}

.phk-partnership-step {
    position: relative;
    z-index: 1;
    padding: 0 1.35rem 0 0;
}

.phk-step-number {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1.35rem;
    border: 1px solid rgba(239, 52, 56, 0.32);
    border-radius: 50%;
    background: var(--phk-navy-2);
    color: #ff6266;
    font-weight: 800;
    font-size: 0.85rem;
}

.phk-partnership-step h3 {
    margin: 0 0 0.65rem;
    color: #fff;
    font-size: 1.15rem;
}

.phk-partnership-step p {
    margin: 0;
    color: rgba(255,255,255,0.58);
    font-size: 0.92rem;
    line-height: 1.75;
}

.phk-global-presence {
    background:
        radial-gradient(circle at 80% 10%, rgba(239, 52, 56, 0.06), transparent 30%),
        var(--phk-navy);
}

.phk-global-map-shell {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    background: #0f1521;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

.phk-global-map-visual {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1728 / 910;
    background: #0b111b;
}

.phk-global-map-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.phk-map-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 100px rgba(8, 12, 20, 0.58);
}

.phk-office-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.phk-office-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 92px;
    padding: 1rem;
    background: #171a27;
}

.phk-office-code {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    color: #fff;
    background: var(--phk-red);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.phk-office-card small {
    display: block;
    margin-bottom: 0.2rem;
    color: rgba(255,255,255,0.44);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.phk-office-card strong {
    display: block;
    color: #fff;
    font-size: 0.88rem;
    line-height: 1.3;
}

.phk-partner-cta {
    padding-top: 2rem !important;
    background: var(--phk-navy);
}

.phk-partner-cta-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 4vw, 4rem);
    border: 1px solid rgba(239, 52, 56, 0.22);
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 50%, rgba(239,52,56,0.16), transparent 28%),
        linear-gradient(135deg, #24243a 0%, #1b1b2e 100%);
    box-shadow: 0 30px 70px rgba(0,0,0,0.18);
}

.phk-partner-cta-copy {
    max-width: 760px;
}

.phk-partner-cta h2 {
    margin: 0.8rem 0 0.85rem;
    color: #fff;
    font-size: clamp(2rem, 4vw, 4.1rem);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.phk-partner-cta p {
    margin: 0;
    color: rgba(255,255,255,0.63);
    line-height: 1.8;
}

@media (max-width: 1180px) {
    .phk-partners-hero-inner {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .phk-partners-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .phk-partners-stat {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .phk-partners-stat + .phk-partners-stat {
        border-top: 0;
        border-left: 1px solid rgba(255,255,255,0.075);
    }

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

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

@media (max-width: 900px) {
    .phk-section-heading--split {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .phk-partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .phk-partnership-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.2rem 1rem;
    }

    .phk-partnership-steps::before {
        display: none;
    }

    .phk-partner-cta-shell {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .phk-partners-page .section {
        padding: 4.5rem 0;
    }

    .phk-partners-hero {
        min-height: auto;
    }

    .phk-partners-hero-inner {
        padding-top: 8.5rem;
        padding-bottom: 7rem;
    }

    .phk-partners-hero h1 {
        font-size: clamp(2.8rem, 15vw, 4.8rem);
    }

    .phk-partners-hero-stats {
        grid-template-columns: 1fr;
    }

    .phk-partners-stat {
        grid-template-columns: 72px 1fr;
    }

    .phk-partners-stat + .phk-partners-stat {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,0.075);
    }

    .phk-partner-grid,
    .phk-partnership-steps,
    .phk-office-grid {
        grid-template-columns: 1fr;
    }

    .phk-partner-card {
        min-height: 230px;
    }

    .phk-global-map-visual {
        aspect-ratio: 4 / 3;
    }

    .phk-global-map-visual img {
        object-position: 58% center;
    }

    .phk-partners-scroll {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phk-partners-page *,
    .phk-partners-page *::before,
    .phk-partners-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
