/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    touch-action: manipulation;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo i {
    font-size: 2rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Tab Content */
.tab-content {
    display: none;
    min-height: calc(100vh - 80px);
}

.tab-content.active {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-cta {
    margin: 2rem 0;
}

.hero-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat i {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
}

.hero .stat-label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff !important;
    opacity: 1;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Companies Overview */
.companies-overview {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.companies-overview .section-header h2::after {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.company-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

/* Individual company card border colors */
.company-card[data-company="ai"]::before {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.company-card[data-company="cloud"]::before {
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.company-card[data-company="digital"]::before {
    background: linear-gradient(90deg, #9b59b6, #8e44ad);
}

.company-card[data-company="security"]::before {
    background: linear-gradient(90deg, #34495e, #2c3e50);
}

.company-card[data-company="data"]::before {
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

.company-card[data-company="enterprise"]::before {
    background: linear-gradient(90deg, #27ae60, #229954);
}

.company-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

/* Individual company card icon colors */
.company-card[data-company="ai"] .company-icon {
    color: #e74c3c;
}

.company-card[data-company="cloud"] .company-icon {
    color: #3498db;
}

.company-card[data-company="digital"] .company-icon {
    color: #9b59b6;
}

.company-card[data-company="security"] .company-icon {
    color: #34495e;
}

.company-card[data-company="data"] .company-icon {
    color: #f39c12;
}

.company-card[data-company="enterprise"] .company-icon {
    color: #27ae60;
}

.company-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.company-card p {
    color: #666;
    font-size: 1rem;
}

.company-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #667eea;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.company-card:hover .company-arrow {
    opacity: 1;
}

/* Global Offices Section */
.global-offices-section {
    padding: 5rem 0;
    background: white;
}

.global-offices-section .section-header h2::after {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.office-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.office-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.office-card.headquarters::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.office-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.office-card.headquarters:hover {
    border-color: #f59e0b;
}

.office-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.office-flag {
    font-size: 2.5rem;
    line-height: 1;
}

.office-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.25rem;
}

.office-type {
    display: inline-block;
    background: linear-gradient(90deg, #667eea, #764ba2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.office-card.headquarters .office-type {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.office-details {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.office-address {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.office-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.office-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.office-contact .contact-item i {
    width: 16px;
    color: #667eea;
    font-size: 0.9rem;
}

.office-card.headquarters .office-contact .contact-item i {
    color: #f59e0b;
}

.office-contact .contact-item span {
    color: #555;
    font-weight: 500;
}

/* Company Hero Sections */
.company-hero {
    padding: 4rem 0;
    color: white;
}

.ai-theme { background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%); }
.cloud-theme { background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); }
.digital-theme { background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%); }
.security-theme { background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%); }
.data-theme { background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%); }
.enterprise-theme { background: linear-gradient(135deg, #27ae60 0%, #229954 100%); }

/* All company themes have white text for better contrast */
.ai-theme, .cloud-theme, .digital-theme, .security-theme, .data-theme, .enterprise-theme {
    color: white;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.company-logo {
    font-size: 4rem;
    opacity: 0.9;
}

.company-info h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.company-tagline {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.company-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background: white;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    padding-bottom: 1rem;
    width: 100%;
    overflow: hidden;
}



.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
}

/* Service card borders inherit color from their parent company tab */
#ai .service-card {
    border-left-color: #e74c3c;
}

#cloud .service-card {
    border-left-color: #3498db;
}

#digital .service-card {
    border-left-color: #9b59b6;
}

#security .service-card {
    border-left-color: #34495e;
}

#data .service-card {
    border-left-color: #f39c12;
}

#enterprise .service-card {
    border-left-color: #27ae60;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

/* Service icons inherit color from their parent company tab */
#ai .service-icon {
    color: #e74c3c;
}

#cloud .service-icon {
    color: #3498db;
}

#digital .service-icon {
    color: #9b59b6;
}

#security .service-icon {
    color: #34495e;
}

#data .service-icon {
    color: #f39c12;
}

#enterprise .service-icon {
    color: #27ae60;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Service card checkmarks inherit color from their parent company tab */
#ai .service-card li::before {
    color: #e74c3c;
}

#cloud .service-card li::before {
    color: #3498db;
}

#digital .service-card li::before {
    color: #9b59b6;
}

#security .service-card li::before {
    color: #34495e;
}

#data .service-card li::before {
    color: #f39c12;
}

#enterprise .service-card li::before {
    color: #27ae60;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #667eea;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #667eea;
}

.footer-link {
    margin: 1rem 0;
}

.footer-main-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 2px solid #667eea;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer-main-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Enhanced Responsive Design with Additional Breakpoints */

/* Large screens (1200px and up) - enhance spacing */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

/* Medium tablets (768px - 992px) */
@media (max-width: 992px) and (min-width: 769px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Small tablets and large phones (640px - 768px) */
@media (max-width: 768px) and (min-width: 641px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .company-card {
        padding: 1.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

/* Large phones in landscape (480px - 640px) */
@media (max-width: 640px) and (min-width: 481px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
}

/* Standard phones in portrait (375px - 480px) */
@media (max-width: 480px) and (min-width: 376px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .company-card,
    .service-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .nav {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Small phones (320px - 375px) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .company-card,
    .service-card {
        padding: 1rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        width: 100%;
        text-align: center;
        border-radius: 4px;
        margin-bottom: 2px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 16px;
    }
}

/* Extra small devices (under 320px) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .company-card,
    .service-card {
        padding: 0.75rem;
    }
    
    .btn {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* Landscape orientation optimizations */
@media (orientation: landscape) and (max-height: 600px) {
    .hero {
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        margin-top: 1rem;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .header {
        padding: 0.75rem 0;
    }
}

/* Additional Sections Styles */

/* Industries Section */
.industries-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.industries-grid {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.industry-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    flex: 1;
    max-width: 240px;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.industry-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
    color: white;
}

/* Industry icons inherit color from their parent company tab */
#ai .industry-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

#cloud .industry-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

#digital .industry-icon {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

#security .industry-icon {
    background: linear-gradient(135deg, #34495e, #2c3e50);
}

#data .industry-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

#enterprise .industry-icon {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.industry-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.industry-card p {
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

/* Technologies Section */
.technologies-section {
    padding: 80px 0;
    background-color: white;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.tech-category {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.tech-category h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tech-tag {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

/* Tech tags inherit color from their parent company tab */
#ai .tech-tag {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

#cloud .tech-tag {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

#digital .tech-tag {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

#security .tech-tag {
    background: linear-gradient(135deg, #34495e, #2c3e50);
}

#data .tech-tag {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

#enterprise .tech-tag {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.tech-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Tech tag hover effects inherit from their parent company tab */
#ai .tech-tag:hover {
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

#cloud .tech-tag:hover {
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

#digital .tech-tag:hover {
    box-shadow: 0 4px 8px rgba(155, 89, 182, 0.3);
}

#security .tech-tag:hover {
    box-shadow: 0 4px 8px rgba(52, 73, 94, 0.3);
}

#data .tech-tag:hover {
    box-shadow: 0 4px 8px rgba(243, 156, 18, 0.3);
}

#enterprise .tech-tag:hover {
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}

/* Success Stories Section */
.success-stories-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.story-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.story-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
    color: white;
}

.story-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.story-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.story-stats {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat {
    font-size: 1.5rem;
    font-weight: 700;
    color: #28a745;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Company Contact Section */
.company-contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.contact-cta {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: white;
    color: #007bff;
    border: 2px solid white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Responsive styles for new sections */
@media (max-width: 768px) {
    .industries-grid {
        gap: 15px;
    }
    
    .industry-card {
        min-width: 180px;
        max-width: 220px;
        padding: 15px;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .contact-cta h2 {
        font-size: 2rem;
    }
    
    .contact-cta p {
        font-size: 1rem;
    }
    
    .hero-cta {
        margin: 1.5rem 0;
    }
    
    .hero-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
}

/* Theme-specific variations for contact sections */
#ai .company-contact-section {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

#cloud .company-contact-section {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

#digital .company-contact-section {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

#security .company-contact-section {
    background: linear-gradient(135deg, #34495e, #2c3e50);
}

#data .company-contact-section {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

#enterprise .company-contact-section {
    background: linear-gradient(135deg, #27ae60, #229954);
} 

/* Main mobile responsive styles (768px and below) */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .nav-link {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        min-width: 80px;
        justify-content: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-link:active {
        transform: scale(0.95);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .office-card {
        padding: 2rem;
    }
    
    .office-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .office-flag {
        font-size: 2rem;
    }
    
    .office-info h3 {
        font-size: 1.3rem;
    }
    
    .office-contact .contact-item {
        font-size: 0.9rem;
    }
    
    .company-header {
        flex-direction: column;
        text-align: center;
    }
    
    .company-info h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 1rem;
    }
} 

/* Touch Optimizations for Mobile Devices */

/* Touch-action properties for better touch handling */
.nav-link,
.company-card,
.service-card,
.btn,
.hero-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Ensure minimum touch target sizes (44px x 44px) */
.nav-link {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
}

.btn,
.hero-btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
}

.company-card {
    cursor: pointer;
    min-height: 120px;
    padding: 1.5rem;
}

.service-card {
    min-height: 200px;
    padding: 1.5rem;
}

/* Enhanced touch feedback */
.nav-link:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.1s ease;
}

.company-card:active,
.service-card:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.btn:active,
.hero-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* Better spacing for touch targets on mobile */
@media (max-width: 768px) {
    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
        margin: 2px 0;
    }
    
    .btn,
    .hero-btn {
        padding: 14px 28px;
        font-size: 1rem;
        min-height: 48px;
        min-width: 120px;
    }
    
    .company-card,
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
        min-height: 140px;
    }
    
    /* Better spacing between interactive elements */
    .nav {
        gap: 8px;
    }
    
    .companies-grid,
    .services-grid {
        gap: 1rem;
    }
}

/* Prevent text selection on interactive elements */
.company-card h3,
.company-card p,
.service-card h3,
.service-card p,
.nav-link,
.btn {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Improve focus indicators for accessibility */
.nav-link:focus,
.btn:focus,
.hero-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.company-card:focus,
.service-card:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Smooth transitions for better touch feedback */
.nav-link,
.company-card,
.service-card,
.btn,
.hero-btn {
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Optimize scrolling on mobile */
.tab-content {
    -webkit-overflow-scrolling: touch;
}

/* Prevent iOS bounce scroll */
body {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
} 