:root {
    --ms-blue: #0078D4;
    --ms-gray: #F3F2F1;
    --ms-orange: #F25022;
    --ms-dark: #201F1E;
    --ms-light-blue: #EFF6FC;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #323130;
    line-height: 1.6;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
}

.logo img {
    height: 80px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin: 0 12px;
    text-align:start;
}

.nav-link {
    text-decoration: none;
    color: var(--ms-dark);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-link:hover {
    background-color: var(--ms-gray);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    min-width: 240px;
    display: none;
    padding: 8px 0;
    z-index: 10;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 12px 16px;
    display: list-item;
    text-decoration: none;
    color: var(--ms-dark);
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--ms-gray);
}
#preview {
    position: absolute;
    width: 80vw;
    height: 60vh;
    border: 1px solid #ccc;
    display: none;
    z-index: 100;
}

.cta-button {
    background-color: var(--ms-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 14px;
}

.cta-button:hover {
    background-color: #106EBE;
}
.cta-container {
    border: 2px solid black;
    width: 60%;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
    border-radius: 8px;  /* Add rounded corners */
    
}
.cta-container:hover {
    background-color: #9bc6d4;  /* Change background color on hover */
}
.cta-container-button{
    color: #ffffff; 
    font-weight: bold;
    text-decoration: none;
}
.mail-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    margin: 0 auto;
    padding: 12px 20px;
    background-color: transparent;
    color: #ffffff !important; /* Force white color and override any inheritance */
    font-weight: bold;
    text-decoration: none;
    border: 2px solid black;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.mail-button:hover {
    background-color: #9bc6d4;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 5%;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero-content h1{
    max-width: 800px;
    margin: 0 auto;
    font-size: 42px;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.2;
}
.hero h1 {
    font-size: 42px;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.primary-button {
    background-color: var(--ms-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.primary-button:hover {
    background-color: #106EBE;
}

.secondary-button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.secondary-button:hover {
    background-color: rgba(255,255,255,0.1);
}
.NIAB-button {
    background-color: var(--ms-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.other-button:hover {
    background-color: rgba(13, 218, 54, 0.852);
}

/* Services Section */
.services-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.services-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 48px;
    color: var(--ms-dark);
}

.services-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.digital-transformation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    border: 1px solid var(--ms-gray);
    border-radius: 8px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    background: white;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--ms-blue);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--ms-blue);
}

.service-card p {
    margin-bottom: 16px;
    color: #605E5C;
}

.service-card a {
    color: var(--ms-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
}

/* Value Proposition */
.value-prop {
    background-color: var(--ms-light-blue);
    padding: 80px 5%;
    text-align: center;
}

.value-prop h2 {
    font-size: 32px;
    margin-bottom: 48px;
    color: var(--ms-dark);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    padding: 32px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--ms-blue);
}

/* Testimonials */
.testimonials {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 48px;
    color: var(--ms-dark);
}

.testimonial-slider {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
}

/* Footer */
.footer {
    background-color: var(--ms-dark);
    color: white;
    padding: 60px 5% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-col p, 
.footer-col address {
    color: rgba(255,255,255,0.7);
    font-style: normal;
    margin-bottom: 16px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.newsletter-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: none;
}

.newsletter-form button {
    background-color: var(--ms-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.legal-links a {
    margin-left: 20px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.legal-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 20px;
    }
    
    .nav-menu {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .legal-links a {
        margin: 0 10px;
    }
    /* About Page Styles */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../images/about-hero.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 5%;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.our-story {
    padding: 80px 5%;
}

.our-story .container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.story-content {
    flex: 1;
}

.story-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

.leadership {
    background-color: var(--ms-light-blue);
    padding: 80px 5%;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member .title {
    color: var(--ms-blue);
    font-weight: 600;
    margin: 10px 0;
}

.values {
    padding: 80px 5%;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    padding: 30px 20px;
    border: 1px solid var(--ms-gray);
    border-radius: 8px;
}

.value-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.certifications {
    padding: 60px 5%;
    text-align: center;
    background-color: var(--ms-light-blue);
}

.cert-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.cert-grid img {
    height: 80px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.cert-grid img:hover {
    opacity: 1;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../images/contact-hero.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 5%;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-content .container {
    display: flex;
    gap: 60px;
    padding: 80px 5%;
}

.contact-form {
    flex: 1;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-info {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--ms-gray);
    border-radius: 4px;
    font-family: 'Segoe UI', sans-serif;
}

.info-card {
    background: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ms-blue);
}

.locations {
    padding: 60px 5%;
    background-color: var(--ms-light-blue);
    text-align: center;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.location-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Resources Page Styles */
.resources-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../images/resources-hero.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 5%;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    cursor: pointer;
    color: var(--ms-dark);
}

.tab-btn.active {
    border-bottom-color: var(--ms-blue);
    color: var(--ms-blue);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resource-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.resource-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--ms-blue);
}

.download-btn, .view-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--ms-blue);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

.view-btn {
    background-color: var(--ms-dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.meta {
    color: #605E5C;
    font-size: 14px;
    margin: 10px 0;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--ms-blue);
    font-weight: 600;
    text-decoration: none;
}

.view-all {
    display: inline-block;
    margin-top: 40px;
    color: var(--ms-blue);
    font-weight: 600;
    text-decoration: none;
}

.newsletter {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--ms-light-blue);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 30px auto 0;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--ms-gray);
    border-radius: 4px;
}
.thank-you-section {
    text-align: center;
    padding: 100px 20px;
    min-height: 60vh;
}

.thank-you-section h1 {
    color: var(--ms-blue);
    margin-bottom: 20px;
}

.thank-you-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .our-story .container {
        flex-direction: column;
    }
    
    .contact-content .container {
        flex-direction: column;
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
}