/* Global Styles */
:root {
    --primary-color: #1a365d;
    --secondary-color: #3182ce;
    --accent-color: #e53e3e;
    --light-color: #f7fafc;
    --dark-color: #2d3748;
    --text-color: #2d3748;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --border-color: #e2e8f0;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --success-color: #38a169;
    --error-color: #e53e3e;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-dark: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--text-color);
    background-color: #ffffff;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.025em;
    min-height: 48px;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: #2c5aa0;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn:active {
    transform: translateY(0);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
    font-family: var(--font-heading);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    min-height: 80px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

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

.logo a:hover {
    color: var(--secondary-color);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-color);
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

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

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: var(--shadow-large);
    border-radius: 8px;
    z-index: 1000;
    padding: 8px 0;
    border: 1px solid var(--border-color);
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Add a pseudo-element to create a buffer area between parent menu and dropdown */
.dropdown::after {
    content: '';
    position: absolute;
    height: 20px;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--light-color);
    color: var(--secondary-color);
    padding-left: 25px;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.language-selector select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: white;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    transition: all 0.3s ease;
    min-width: 120px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 32px;
}

.language-selector select:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-light);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.language-selector select option {
    padding: 8px 12px;
    background-color: white;
    color: var(--text-color);
}

/* Custom Language Dropdown */
.custom-dropdown {
    position: relative;
    display: inline-block;
    min-width: 120px;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: white;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    transition: all 0.3s ease;
    width: 100%;
}

.dropdown-btn:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-light);
}

.dropdown-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: var(--shadow-medium);
    z-index: 1000;
    display: none;
    margin-top: 4px;
    overflow: hidden;
}

.dropdown-content.show {
    display: block;
}

.dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: #f5f7fa;
    color: var(--secondary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,100 1000,0 1000,100"/></svg>');
    background-size: cover;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

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

.btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

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

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* About Page Styles */
.about-intro {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.8;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

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

.mission-vision {
    padding: 80px 0;
    background-color: var(--light-color);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mission-card, .vision-card, .values-card {
    background-color: white;
    padding: 30px 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.mission-card::before, .vision-card::before, .values-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.mission-card:hover, .vision-card:hover, .values-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
    border-color: transparent;
}

.mission-card h3, .vision-card h3, .values-card h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.mission-card p, .vision-card p {
    color: var(--text-color);
    line-height: 1.6;
}

.values-card ul {
    list-style: none;
    padding: 0;
}

.values-card ul li {
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.6;
}

.values-card ul li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.team {
    padding: 80px 0;
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
    border-color: transparent;
}

.member-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background-color: #f0f4f8;
}

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

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

.team-member h3 {
    margin: 20px 20px 5px;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.member-title {
    margin: 0 20px 10px;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.member-bio {
    margin: 0 20px 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Company History Timeline */
.company-history {
    padding: 80px 0;
    background-color: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

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

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    z-index: 2;
    box-shadow: var(--shadow-medium);
}

.timeline-content {
    width: 45%;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Achievements Section */
.achievements {
    padding: 80px 0;
    background-color: var(--light-color);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.achievement-card {
    background-color: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.achievement-card:hover::before {
    transform: scaleX(1);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
    border-color: transparent;
}

.achievement-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1);
}

.achievement-card h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.achievement-card p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Certifications Section */
.certifications {
    padding: 80px 0;
    background-color: white;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.certification-card {
    background-color: var(--light-color);
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
    border-color: transparent;
    background-color: white;
}

.certification-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.certification-card:hover .certification-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.certification-card h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.certification-card p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Resources Page Styles */
.resources {
    padding: 80px 0;
    background-color: var(--light-color);
}

/* Blog Styles */
.blog {
    padding: 80px 0;
    background-color: var(--light-color);
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.blog-main {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    padding: 30px;
}

.category-description {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.blog-posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.blog-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.blog-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.blog-card-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

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

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

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.blog-category a {
    color: white;
    text-decoration: none;
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.blog-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

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

.blog-title a:hover {
    color: var(--secondary-color);
}

.blog-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-author {
    position: relative;
    padding-left: 20px;
}

.blog-author::before {
    content: '\f007';
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
}

.blog-date {
    position: relative;
    padding-left: 20px;
}

.blog-date::before {
    content: '\f073';
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
}

.blog-excerpt p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-tag {
    background-color: #f0f4f8;
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background-color: var(--secondary-color);
    color: white;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
}

.read-more:hover i {
    transform: translateX(5px);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: white;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.pagination-item.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.pagination-item:hover:not(.active, .disabled) {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

.pagination-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-item:first-child,
.pagination-item:last-child {
    width: auto;
    padding: 0 15px;
}

.no-posts {
    text-align: center;
    padding: 50px 0;
}

.no-posts-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.no-posts h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    padding: 25px;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
}

.search-form button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    width: 45px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-list li {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.category-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.category-list a:hover,
.category-list a.active {
    color: var(--secondary-color);
}

.category-list a span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 15px;
}

.recent-post-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

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

.recent-post:hover .recent-post-image img {
    transform: scale(1.1);
}

.recent-post-content h4 {
    font-size: 0.95rem;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.recent-post-content h4 a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.recent-post-content h4 a:hover {
    color: var(--secondary-color);
}

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

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: #f0f4f8;
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--secondary-color);
    color: white;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
}

.newsletter-form .btn {
    width: 100%;
}

/* Single Blog Post */
.blog-post {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    padding: 30px;
}

.post-header {
    margin-bottom: 30px;
}

.post-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
}

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

.post-content {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 40px 0 20px;
}

.post-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding: 15px 20px;
    margin: 20px 0;
    background-color: #f0f4f8;
    font-style: italic;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.post-content code {
    background-color: #f0f4f8;
    padding: 2px 5px;
    border-radius: 4px;
    font-family: monospace;
}

.post-content pre {
    background-color: #f0f4f8;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.post-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.post-tags {
    margin-bottom: 30px;
}

.post-tags-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 10px;
}

.social-share {
    margin-top: 30px;
}

.social-share-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-icon.facebook {
    background-color: #3b5998;
}

.social-icon.twitter {
    background-color: #1da1f2;
}

.social-icon.linkedin {
    background-color: #0077b5;
}

.social-icon.pinterest {
    background-color: #bd081c;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.author-bio {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    background-color: #f0f4f8;
    border-radius: 12px;
    padding: 25px;
    margin-top: 40px;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
}

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

.author-info h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.author-info p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    gap: 10px;
}

.author-social a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.author-social a:hover {
    color: var(--secondary-color);
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.post-nav-item {
    background-color: #f0f4f8;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.post-nav-item:hover {
    background-color: white;
    box-shadow: var(--shadow-medium);
}

.post-nav-item.prev {
    text-align: left;
}

.post-nav-item.next {
    text-align: right;
}

.post-nav-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.post-nav-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.post-nav-item:hover .post-nav-title {
    color: var(--secondary-color);
}

.related-posts {
    margin-top: 60px;
}

.related-posts h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

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

.related-post-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.related-post-image {
    height: 180px;
    overflow: hidden;
}

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

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

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-post-title a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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

.related-post-meta {
    font-size: 0.85rem;
    color: var(--text-light);
}

.comments-section {
    margin-top: 60px;
}

.comments-section h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.comment {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.comment:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.comment-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.comment-text {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.comment-reply {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.comment-reply:hover {
    color: var(--primary-color);
}

.comment-form {
    margin-top: 40px;
}

.comment-form h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.comment-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

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

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

.form-group .btn {
    margin-top: 10px;
}

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

@media (max-width: 768px) {
    .post-title {
        font-size: 2rem;
    }
    
    .post-featured-image {
        height: 300px;
    }
    
    .author-bio {
        grid-template-columns: 80px 1fr;
    }
    
    .author-image {
        width: 80px;
        height: 80px;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .comment {
        grid-template-columns: 50px 1fr;
    }
    
    .comment-avatar {
        width: 50px;
        height: 50px;
    }
    
    .comment-form-grid {
        grid-template-columns: 1fr;
    }
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.resource-card {
    display: flex;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    padding: 0;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
    border-color: transparent;
}

.resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    background: var(--gradient-primary);
    color: white;
    font-size: 2rem;
    padding: 20px;
}

.resource-content {
    padding: 25px;
    flex: 1;
}

.resource-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.resource-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.resource-type {
    color: var(--secondary-color);
    font-weight: 600;
    background-color: rgba(49, 130, 206, 0.1);
    padding: 4px 10px;
    border-radius: 15px;
}

.resource-size {
    color: var(--text-muted);
}

.resource-card .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.service-card {
    background-color: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
    border-color: transparent;
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    justify-content: center;
}

.feature-tag {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.btn-link {
    background: none;
    border: none;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0;
    font-size: 16px;
    position: relative;
}

.btn-link::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-link:hover::after {
    transform: translateX(4px);
}

/* Resources Section */
.resources {
    padding: 100px 0;
    background-color: var(--light-color);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.resource-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.resource-card:hover::before {
    transform: scaleX(1);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: transparent;
}

.resource-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.resource-content {
    flex-grow: 1;
}

.resource-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.resource-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.resource-type {
    background-color: var(--light-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.resource-size {
    color: var(--text-light);
}

/* Featured Case Studies */
.featured-case-studies {
    background: white;
    padding: 80px 0;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.case-study-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.case-study-card:hover::before {
    transform: scaleX(1);
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: transparent;
}

.case-study-header {
    margin-bottom: 15px;
}

.industry-tag {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.case-study-header h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.case-study-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.case-study-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.result-item {
    text-align: center;
    padding: 15px;
    background: var(--light-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.result-item strong {
    display: block;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.result-item span {
    color: var(--text-color);
    font-size: 0.9rem;
}

.case-study-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 15px 0;
    justify-content: center;
}

.tech-tag {
    background: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Statistics Section */
.statistics {
    background: var(--gradient-dark);
    color: white;
    padding: 100px 0;
    position: relative;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.05)"><polygon points="0,0 1000,100 1000,0"/></svg>');
    background-size: cover;
}

.statistics .container {
    position: relative;
    z-index: 2;
}

.statistics .section-title {
    color: white;
}

.statistics .section-title::after {
    background: white;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.statistic-item {
    text-align: center;
    padding: 20px;
}

.statistic-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    line-height: 1;
}

.statistic-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Sectors Section */
.sectors {
    padding: 100px 0;
    background: var(--light-color);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.sector-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sector-card:hover::before {
    transform: scaleX(1);
}

.sector-card:hover {
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.sector-card i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.sector-card:hover i {
    transform: scale(1.1);
}

.sector-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.sector-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,100 1000,0 1000,100"/></svg>');
    background-size: cover;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

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

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    margin-bottom: 15px;
    max-width: 180px;
    height: auto;
}

.footer-logo h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

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

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
}

.contact-info i {
    color: #666666;
    width: 14px;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    color: white;
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Body scroll lock for mobile menu */
body.menu-open {
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1, .hero h2 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .cta-content h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: var(--shadow-large);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 30px 30px;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }
    
    nav ul li a::after {
        display: none;
    }
    
    /* Dropdown for mobile */
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: var(--light-color);
        margin-top: 10px;
        border-radius: 8px;
        padding: 10px 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding: 10px 20px;
        border-bottom: none;
        color: var(--text-color);
    }
    
    .dropdown-menu a:hover {
        background: rgba(49, 130, 206, 0.1);
        color: var(--secondary-color);
    }
    
    /* Language selector mobile */
    .language-selector {
        margin-left: 0;
        margin-top: 20px;
        justify-content: center;
    }
    
    .language-selector select {
        width: 100%;
        max-width: 200px;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero h1, .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Section adjustments */
    .services, .featured-case-studies, .statistics, .sectors, .cta {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .services-grid, .case-studies-grid, .sectors-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card, .case-study-card, .sector-card {
        padding: 30px 25px;
    }
    
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .statistic-value {
        font-size: 2.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1, .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-results {
        grid-template-columns: 1fr;
    }
    
    .service-card i, .sector-card i {
        font-size: 3rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }

.shadow { box-shadow: var(--shadow-light); }
.shadow-lg { box-shadow: var(--shadow-medium); }
.shadow-xl { box-shadow: var(--shadow-large); }

/* Service Detail Pages */
.service-detail {
    padding: 100px 0;
    background: var(--light-color);
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.service-main {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-color);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.technologies {
    margin-top: 40px;
}

.technologies h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.tech-item {
    text-align: center;
    padding: 20px 15px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-color);
}

.tech-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
}

.tech-item span {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.sidebar-card h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.sidebar-card ul,
.sidebar-card ol {
    margin: 0;
    padding-left: 20px;
}

.sidebar-card li {
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.5;
}

.sidebar-card ul li {
    list-style: none;
    position: relative;
    padding-left: 20px;
}

.sidebar-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.sidebar-card ol li {
    color: var(--text-color);
    line-height: 1.6;
}

.sidebar-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Service Cards with Lists */
.service-card ul {
    text-align: left;
    margin: 20px 0;
    padding-left: 20px;
}

.service-card li {
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive for Service Pages */
@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-main,
    .sidebar-card {
        padding: 25px;
    }
}

/* Sector Detail Pages */
.sector-detail {
    padding: 100px 0;
    background: var(--light-color);
}

.sector-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.sector-main {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.sector-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.sector-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Case Studies Section */
.case-studies-section {
    margin-top: 40px;
}

.case-studies-section h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.case-study-item {
    background: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.case-study-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.case-study-details p {
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.6;
}

.case-study-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

.results {
    margin-top: 15px;
}

.results strong {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

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

.results li {
    color: var(--text-color);
    margin-bottom: 5px;
    line-height: 1.5;
}

/* Responsive for Sector Pages */
@media (max-width: 768px) {
    .sector-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sector-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sector-main,
    .sector-sidebar .sidebar-card {
        padding: 25px;
    }
}

/* Case Studies Pages */
.case-studies {
    padding: 100px 0;
    background: var(--light-color);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.case-study-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.case-study-header {
    padding: 25px 25px 20px;
    border-bottom: 1px solid var(--border-color);
}

.case-study-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.industry,
.service {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.service {
    background: var(--secondary-color);
}

.case-study-header h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.client {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.case-study-content {
    padding: 20px 25px;
}

.challenge {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-study-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.technologies h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: var(--light-color);
    color: var(--text-color);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.case-study-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* Case Study Detail Page */
.case-study-detail {
    padding: 100px 0;
    background: var(--light-color);
}

.case-study-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.case-study-main {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 10px;
}

.case-study-overview {
    background: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.overview-item h4 {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overview-item p {
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

.overview-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.overview-item a:hover {
    text-decoration: underline;
}

.case-study-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 0;
}

.results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.results-list li {
    color: var(--text-color);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.results-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.testimonial {
    background: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.testimonial-content blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.testimonial-content cite {
    font-size: 0.9rem;
    opacity: 0.9;
}

.case-study-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    color: var(--text-color);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.5;
}

.highlights-list li:last-child {
    border-bottom: none;
}

/* Related Case Studies */
.related-case-studies {
    padding: 80px 0;
    background: white;
}

.related-case-studies h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
}

/* Responsive for Case Studies */
@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-study-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .case-study-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .case-study-main,
    .case-study-sidebar .sidebar-card {
        padding: 25px;
    }
}

/* Contact Page */
.contact-info {
    padding: 100px 0;
    background: var(--light-color);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.office-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.office-card.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.office-card.primary h3,
.office-card.primary p,
.office-card.primary address,
.office-card.primary strong {
    color: white;
}

.office-card.primary i {
    color: var(--accent-color);
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.office-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.office-card h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.3rem;
    font-weight: 600;
}

.office-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.office-card address {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: normal;
}

.office-card p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-form {
    padding: 100px 0;
    background: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 40px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

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

.form-status {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}

.form-status.success {
    background: var(--success-color);
    color: white;
}

.form-status.error {
    background: var(--error-color);
    color: white;
}

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

.map-container {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.leaflet-map {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

/* Leaflet Map Customization */
.leaflet-container {
    border-radius: 12px;
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
}

.leaflet-popup-content {
    margin: 10px;
    font-family: var(--font-body);
}

.leaflet-popup-content h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 600;
}

.leaflet-popup-content p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-office {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.map-office.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.02);
    box-shadow: var(--shadow-medium);
}

.map-office.primary h4,
.map-office.primary p {
    color: white;
}

.map-office.primary h4 i {
    color: var(--accent-color);
}

.map-office h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-office h4 i {
    color: var(--secondary-color);
}

.map-office p {
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive for Contact */
@media (max-width: 768px) {
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .leaflet-map {
        height: 300px;
    }
}

/* Responsive for References */
@media (max-width: 1200px) {
    .references-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .references-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .reference-item {
        padding: 20px;
        min-height: 160px;
    }
    
    .reference-logo {
        width: 60px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    .reference-item h4 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .reference-item p {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .reference-type {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .references-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .reference-item {
        min-height: 140px;
    }
}

/* References Section */
.references {
    padding: 100px 0;
    background: white;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.reference-item {
    background: var(--light-color);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reference-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.reference-logo {
    width: 80px;
    height: 50px;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    overflow: hidden;
}

.reference-logo i {
    font-size: 1.5rem;
    color: white;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    max-width: 100%;
    max-height: 100%;
}

.reference-item h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.reference-item p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.reference-type {
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive for References */
@media (max-width: 768px) {
    .references-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

/* Reference List in Sidebar */
.reference-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reference-list li {
    color: var(--text-color);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.5;
    font-size: 0.9rem;
}

.reference-list li:last-child {
    border-bottom: none;
}