/* Professional Microsoft Dynamics Consultancy Design */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans Pro', 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: #1a202c;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #4a5568;
}

/* Professional Color Palette */
:root {
    --primary-blue: #0078d4;      /* Microsoft Blue */
    --primary-dark: #106ebe;      /* Darker Microsoft Blue */
    --secondary-blue: #00a1f1;    /* Light Microsoft Blue */
    --accent-blue: #0078d4;       /* Accent Blue */
    --text-dark: #1a202c;         /* Dark text */
    --text-medium: #4a5568;       /* Medium text */
    --text-light: #718096;        /* Light text */
    --background-light: #f7fafc;  /* Light background */
    --background-white: #ffffff;  /* White background */
    --border-light: #e2e8f0;      /* Light border */
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wrapper {
    padding: 5rem 0;
}

.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.narrow {
    max-width: 800px;
}

/* Header and Navigation */
header {
    background: var(--background-white);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
#banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 8rem 2rem 6rem;
    margin-top: 80px;
}

#banner h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

#banner p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.button.primary {
    background: var(--primary-blue);
    color: white;
}

.button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.button.outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.button.outline:hover {
    background: var(--primary-blue);
    color: white;
}

.actions {
    list-style: none;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
section {
    padding: 5rem 0;
}

section.alternate {
    background: var(--background-light);
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Features Grid - 2-wide Layout (for 2 or 4 features) */
.features.two-wide {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 3rem auto 0;
}

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

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

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.feature i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* Content Sections */
.major {
    text-align: center;
    margin-bottom: 3rem;
}

.major h2 {
    margin-bottom: 1rem;
}

.major p {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* Team Section */
.team-member {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.team-member img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 4px solid var(--primary-blue);
}

.team-member h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--secondary-blue);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .inner {
        padding: 0 1rem;
    }
    
    #banner {
        padding: 6rem 1rem 4rem;
    }
    
    #banner h2 {
        font-size: 2rem;
    }
    
    #banner p {
        font-size: 1.125rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    #banner h2 {
        font-size: 1.75rem;
    }
    
    .button {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

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

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

/* Smooth transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
