@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-blue: #0066ff;
    --deep-blue: #003d99;
    --orange: #ff6b00;
    --white: #ffffff;
    --dark-grey: #1a1a1a;
    --light-grey: #f5f7fa;
    --text-color: #333333;
    --nav-height: 100px;
    --card-icon-size: 64px;
    --footer-bg: #6E6E6E;
    /* Graphite Silver */
    /* Action palette aliases */
    --action-blue: #0066FF;
    --action-orange: #FF6B00;
    --action-white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.qa-logo {
    width: var(--card-icon-size);
    height: var(--card-icon-size);
    display: none;
    margin: 0 auto 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-grey);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-grey);
}

/* Rounded sections */
.section-rounded {
    border-radius: 40px;
}

/* Nav Styles */
header {
    height: var(--nav-height);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 95px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-grey);
}

.nav-links a {
    color: var(--dark-grey);
    font-weight: 500;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 12px;
}

.nav-links .btn {
    padding: 10px 22px;
    border-radius: 50px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

/* Ensure the Contact nav button uses the same colors as the site primary button */
.nav-links .btn-primary {
    color: var(--white) !important;
    background-color: var(--primary-blue) !important;
    border: none !important;
}

.nav-links .btn-primary:hover {
    background-color: var(--deep-blue) !important;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a.active {
    color: var(--primary-blue);
    font-weight: 600;
}



/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.2s, background-color 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:disabled {
    background-color: #ccc !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-primary {
    background-color: var(--action-blue);
    color: var(--action-white);
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.12);
}

.btn-primary:hover {
    background-color: var(--deep-blue);
}

.btn-secondary {
    background-color: var(--action-orange);
    color: var(--action-white);
}

.btn-secondary:hover {
    opacity: 0.9;
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #666;
}

/* Card Styles */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

/* center card content (icon + text) so services cards match */
.card {
    text-align: center;
}

/* Make cards visually consistent height so content lines up across the row */
.card {
    min-height: 260px;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    margin: 0 0 12px;
    font-size: 1.5rem;
}

.card-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.service-image {
    width: 100%;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image {
    display: none;
}

.card i {
    display: block;
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 20px;
}

.qa-logo .qa-shield {
    fill: var(--primary-blue);
    stroke: none;
}

.qa-logo .qa-check {
    fill: none;
    stroke: var(--white);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Horizontal card layout used for QA so icon sits left and text aligns vertically with other cards */

/* Card variation with an icon placed in the top-left of the card */
.card-with-icon {
    position: relative;
    padding-left: 96px;
}

.card-with-icon .card-icon {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-with-icon .card-text {
    margin-top: 6px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item i {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 20px;
}

.feature-item h4 {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #b0b0b0;
}

.footer-links ul li a:hover {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #333;
    color: #888;
}

/* About Page Specific */
.about-intro {
    display: flex;
    align-items: center;
    gap: 50px;
}

.founder-section {
    background: var(--light-grey);
    padding: 60px;
    border-radius: 30px;
    margin-top: 50px;
}

/* Contact Page Specific */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
}

.contact-details h3 {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --nav-height: 120px;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        z-index: 1100;
    }

    .logo {
        margin-left: 0;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 70%;
        height: calc(100vh - var(--nav-height));
        background: var(--white);
        flex-direction: column;
        gap: 20px;
        padding: 40px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .grid,
    .footer-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-intro {
        flex-direction: column;
    }

    header .container {
        padding: 0 10px;
        /* Reduced padding on very small screens to push elements to corner */
    }

    .logo img {
        height: 115px;
        /* Increased to fit mobile header height */
    }
}