/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
    max-width: 100vw;
}

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

/* Color Variables */
:root {
    --primary-color: #002952;
    --secondary-color: #003d82;
    --accent-color: #004e94;
    --dark-color: #1a1a1a;
    --gray-color: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --success-color: #10b981;
    --error-color: #ef4444;
    --gradient-bg: linear-gradient(135deg, #002952 0%, #003d82 100%);
    --primary-color-95: rgba(0, 41, 82, 0.95);
    --secondary-color-95: rgba(0, 61, 130, 0.95);
}

/* AI Network Pattern Utility */
.bg-ai {
    position: relative;
    background: var(--primary-color-95);
    overflow: hidden;
}

.bg-ai::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/ai-network-pattern.svg');
    background-size: 200px 200px;
    background-repeat: repeat;
    opacity: 0.08;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
}

.bg-ai > * {
    position: relative;
    z-index: 2;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-color);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 120, 212, 0.3);
}

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

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

/* Button styles for AI background sections */
.bg-ai .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.bg-ai .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

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

.hero-slide h1 {
    margin-bottom: 30px;
    color: var(--white);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
}

.hero-slide p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    align-items: center;
    z-index: 3;
}

.slide-indicators {
    display: flex;
    gap: 10px;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.slide-nav {
    display: flex;
    gap: 15px;
}

.slide-prev, .slide-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slide-prev:hover, .slide-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Feature Cards Section */
.feature-cards {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card-content h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.feature-link:hover {
    color: var(--secondary-color);
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    width: 100%;
    max-width: 450px;
    height: 600px;
}

.visual-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.visual-card:hover {
    transform: translateY(-5px);
}

.visual-teams {
    background: #5a5fc4;
    padding: 12px;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.visual-sharepoint {
    background: #0078d4;
    padding: 12px;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.visual-powerautomate {
    background: #742774;
    padding: 12px;
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.visual-copilot {
    background: #2d3748;
    padding: 12px;
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Teams Mockup Styles */
.teams-mockup {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    height: 100%;
    flex: 1;
    min-height: 240px;
}

.teams-header {
    background: #5a5fc4;
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.teams-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.teams-controls {
    display: flex;
    gap: 8px;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.teams-content {
    display: flex;
    height: 200px;
}

.teams-sidebar {
    width: 70px;
    background: #f3f2f1;
    padding: 8px 4px;
    border-right: 1px solid #e1dfdd;
}

.teams-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 2px;
    margin-bottom: 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.7rem;
    text-align: center;
}

.teams-nav-item.active {
    background: #e1dfdd;
    color: #5a5fc4;
}

.teams-nav-item i {
    font-size: 1.2rem;
}

.teams-main {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
}

.teams-chat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e1dfdd;
}

.teams-chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.online-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4caf50;
}

.teams-messages {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 12px;
}

.message {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #5a5fc4;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
}

.message-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 4px;
}

.message-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.4;
}

.teams-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f3f2f1;
    border-radius: 20px;
    border: 1px solid #e1dfdd;
}

.teams-input input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
}

.teams-input i {
    color: #666;
    cursor: pointer;
    font-size: 1rem;
}

/* SharePoint Mockup Styles */
.sharepoint-mockup {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    height: 100%;
    flex: 1;
    min-height: 240px;
}

.sharepoint-header {
    background: #0078d4;
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sharepoint-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.sharepoint-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 6px;
}

.sharepoint-search input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 1rem;
    width: 120px;
}

.sharepoint-search input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.sharepoint-navigation {
    display: flex;
    background: #f3f2f1;
    border-bottom: 1px solid #e1dfdd;
}

.sharepoint-navigation .nav-item {
    padding: 8px 12px;
    font-size: 1rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.sharepoint-navigation .nav-item.active {
    border-bottom-color: #0078d4;
    color: #0078d4;
    font-weight: 600;
}

.sharepoint-content {
    padding: 12px;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid #e1dfdd;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.document-item:hover {
    background: #f3f2f1;
}

.doc-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.doc-icon.word {
    background: #2b579a;
}

.doc-icon.excel {
    background: #217346;
}

.doc-icon.powerpoint {
    background: #d24726;
}

.doc-icon.pdf {
    background: #dc3545;
}

.document-item span {
    font-size: 0.9rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Power Automate Mockup Styles */
.powerautomate-mockup {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    height: 100%;
    flex: 1;
    min-height: 240px;
}

.powerautomate-header {
    background: #742774;
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.powerautomate-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.powerautomate-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.powerautomate-content {
    padding: 12px;
}

.flow-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e1dfdd;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: background 0.2s;
}

.flow-item:hover {
    background: #f3f2f1;
}

.flow-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.flow-icon.active {
    background: #4caf50;
}

.flow-icon:not(.active) {
    background: #ffc107;
}

.flow-info {
    flex: 1;
}

.flow-name {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    margin-bottom: 4px;
}

.flow-status {
    font-size: 0.9rem;
    color: #666;
}

.flow-stats {
    text-align: center;
}

.flow-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.flow-stats .stat-number {
    font-size: 1.4rem;
    font-weight: 600;
    color: #742774;
}

.flow-stats .stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Copilot Mockup Styles */
.copilot-mockup {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    height: 100%;
    flex: 1;
    min-height: 240px;
}

.copilot-header {
    background: #f8f9fa;
    padding: 16px 20px;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copilot-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #2d3748;
    font-size: 1.2rem;
}

.copilot-logo i {
    color: #0078d4;
    font-size: 1.5rem;
}

.copilot-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #666;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #28a745;
}

.copilot-content {
    padding: 20px;
    height: 320px;
    display: flex;
    flex-direction: column;
}

.copilot-conversation {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
}

.copilot-message {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.copilot-message.user {
    justify-content: flex-end;
}

.copilot-message.user .message-bubble {
    background: #0078d4;
    color: white;
    border-radius: 24px 24px 6px 24px;
}

.copilot-message.assistant .message-bubble {
    background: #f1f3f4;
    color: #333;
    border-radius: 24px 24px 24px 6px;
}

.copilot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0078d4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.copilot-avatar i {
    color: white;
    font-size: 1.1rem;
}

.message-bubble {
    max-width: 280px;
    padding: 12px 16px;
    font-size: 1rem;
    line-height: 1.5;
}

.copilot-suggestions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.suggestion-chip {
    background: #e3f2fd;
    color: #0078d4;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.suggestion-chip:hover {
    background: #bbdefb;
}

.copilot-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 30px;
    border: 1px solid #e1e5e9;
}

.copilot-input input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1.1rem;
    color: #333;
}

.copilot-input i {
    color: #0078d4;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Section Styles */
section {
    padding: 80px 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

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

.section-header h2 {
    margin-bottom: 20px;
}

.bg-ai .section-header h2 {
    color: var(--white);
}

.bg-ai .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services.bg-ai {
    background: var(--primary-color-95);
}

.services:not(.bg-ai) {
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.bg-ai .service-card {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

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

.service-card li {
    padding: 5px 0;
    color: var(--gray-color);
    position: relative;
    padding-left: 20px;
}

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

/* Why Us Section */
.why-us.bg-ai {
    background: var(--secondary-color-95);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-us-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.why-us-card:hover {
    background: var(--light-gray);
    transform: translateY(-5px);
}

.bg-ai .why-us-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.bg-ai .why-us-card:hover {
    background: rgba(255, 255, 255, 0.2);
}

.bg-ai .why-us-card h3 {
    color: var(--white);
}

.bg-ai .why-us-card p {
    color: rgba(255, 255, 255, 0.9);
}

.bg-ai .why-us-icon {
    color: rgba(255, 255, 255, 0.9);
}

.why-us-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.why-us-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.why-us-card p {
    color: var(--gray-color);
}

/* Testimonials Section */
.testimonials {
    background: var(--light-gray);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    transition: transform 0.3s ease;
}

.testimonial-card {
    min-width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--gray-color);
}

.testimonial-author h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--gray-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-item p {
    color: var(--gray-color);
    margin: 0;
}

.contact-form {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer.bg-ai {
    background: var(--primary-color-95);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Chatbot Placeholder */
.chatbot-placeholder {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 120, 212, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.chatbot-placeholder:hover {
    transform: scale(1.1);
}

.chatbot-icon {
    font-size: 1.5rem;
    color: var(--white);
}

.chatbot-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chatbot-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid var(--dark-color);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.chatbot-placeholder:hover .chatbot-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        height: 70vh;
        padding-top: 60px;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 20px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .slide-image {
        max-height: 250px;
    }

    .hero-slide h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .hero-slide p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-controls {
        bottom: 20px;
        flex-direction: column;
        gap: 15px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 20px;
    }

    /* AI pattern adjustments for mobile */
    .bg-ai::before {
        background-size: 150px 150px;
        opacity: 0.06;
    }

    .bg-ai .service-card {
        background: rgba(255, 255, 255, 0.98);
    }

    .bg-ai .why-us-card {
        background: rgba(255, 255, 255, 0.15);
    }

    .visual-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }

    .visual-teams {
        grid-row: auto;
    }

    .visual-sharepoint {
        grid-column: auto;
        grid-row: auto;
    }

    .visual-powerautomate {
        grid-column: auto;
        grid-row: auto;
    }

    .teams-mockup {
        min-height: 200px;
    }

    .teams-content {
        height: 160px;
    }

    .copilot-mockup {
        min-height: 220px;
    }

    .copilot-content {
        height: 280px;
    }

    .sharepoint-mockup {
        min-height: 120px;
    }

    .powerautomate-mockup {
        min-height: 120px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .chatbot-placeholder {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 20px 30px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .service-card,
    .contact-form {
        padding: 30px 20px;
    }

    .testimonial-content {
        padding: 30px 20px;
    }
}

/* Smooth Scrolling Animation */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

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

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

/* Hover Effects */
.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.why-us-card:hover .why-us-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .chatbot-placeholder {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 20px 0;
    }
    
    section {
        padding: 20px 0;
    }
}
