* {
    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;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 70px;
}

/* Hero logo styling */
.hero-logo {
    width: 300px;
    height: auto;
    margin-bottom: 2rem;
    display: block;
}

.logo {
    height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
    background: white;
    padding: 5px;
    border-radius: 5px;
}

nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav a:hover {
    color: #7B68EE;
}

#hero {
    text-align: center;
    padding: 6rem 2rem;
    background: #2E4A87;
    color: white;
    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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #E2E8F0;
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1.2rem 2.5rem;
    background: #7B68EE;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,153,0,0.3);
    position: relative;
    z-index: 10;
}

.cta-button:hover {
    background: #e68900;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,153,0,0.4);
}

.cta-subtext {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.quick-contact {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.quick-contact a {
    color: #ff9900;
    text-decoration: none;
}

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

section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

#hero {
    margin-bottom: 0;
    border-radius: 0;
}

h2 {
    margin-bottom: 1.5rem;
    color: #2E4A87;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #7B68EE;
    border-radius: 2px;
}

/* Results section styling */
.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.result-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #7B68EE;
}

.result-item h3 {
    color: #2E4A87;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.result-item ul {
    list-style: none;
    padding: 0;
}

.result-item li {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
}

.result-item li:before {
    content: "✓";
    color: #7B68EE;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.value-proposition {
    background: #2E4A87 !important;
    color: white !important;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.value-proposition h3 {
    color: white !important;
    margin-bottom: 1rem;
}

.value-proposition ul {
    list-style: none;
    padding: 0;
}

.value-proposition li {
    margin-bottom: 0.3rem;
    padding-left: 1.5rem;
    position: relative;
    color: white !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

.value-proposition li:before {
    content: "→";
    color: white;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* SME credential styling */
.sme-credential {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #7B68EE;
}

.sme-badge {
    width: 80px;
    height: auto;
    flex-shrink: 0;
}

.sme-text {
    flex: 1;
}

.sme-text strong {
    color: #2E4A87;
    font-size: 1.1rem;
}

/* AWS Badges styling */
.aws-badges {
    margin: 1.5rem 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #7B68EE;
    text-align: center;
}

.aws-badges h3 {
    color: #2E4A87;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cert-badge {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.cert-badge:hover {
    transform: scale(1.05);
}

/* Footer badges styling */
.footer-badges {
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-flex-direction: row !important;
    -ms-flex-direction: row !important;
    flex-direction: row !important;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.footer-badge {
    width: 45px !important;
    height: 45px !important;
    max-width: 45px !important;
    max-height: 45px !important;
    min-width: 45px !important;
    min-height: 45px !important;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.footer-badge:hover {
    opacity: 1;
}

/* Responsive badge sizing */
@media (max-width: 768px) {
    .footer-badge {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #7B68EE;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-left-width: 6px;
}

/* Center the 5th service card when alone on bottom row */
.service-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
}

.service-card h3 {
    color: #2E4A87;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.service-card > p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid #ddd;
    margin-top: 1rem;
}

.service-details.active {
    max-height: 400px;
    padding-top: 1rem;
}

.service-details p {
    color: #555;
    line-height: 1.6;
}

ul {
    list-style: none;
}

li {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #7B68EE;
    transition: transform 0.2s ease;
}

li:hover {
    transform: translateX(5px);
}



footer {
    background: #2E4A87;
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

footer p {
    font-size: 1.1rem;
}

.email-icon {
    color: #7B68EE;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Desktop improvements */
@media (min-width: 1200px) {
    section {
        max-width: 1200px;
        padding: 4rem 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    #hero {
        padding: 8rem 4rem;
    }
    
    #hero h1 {
        font-size: 4rem;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    section {
        max-width: 1000px;
        padding: 4rem 3rem;
    }
    
    #hero {
        padding: 6rem 3rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-logo {
        width: 250px;
        margin-bottom: 1.5rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    #hero {
        padding: 3rem 1rem;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    section {
        margin: 1rem;
        padding: 2rem 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-details.active {
        max-height: 600px;
    }
}

/* Blog post styles */
.blog-post {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.blog-post h1 {
    color: #2E4A87;
    margin-bottom: 1rem;
    font-size: 2.2rem;
    line-height: 1.3;
}

.blog-meta {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.blog-post h2 {
    color: #2E4A87;
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
}

.blog-post h3 {
    color: #2E4A87;
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.2rem;
}

.blog-post p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.blog-post ul {
    margin: 1rem 0 1rem 2rem;
}

.blog-post li {
    margin-bottom: 0.5rem;
}

.cta-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
    border-left: 4px solid #3498db;
}
