:root {
    --mdc-theme-primary: #2196f3;
    --mdc-theme-secondary: #03dac6;
    --mdc-theme-background: #fafafa;
    --mdc-theme-surface: #ffffff;
    --mdc-theme-error: #b00020;
    --mdc-theme-on-primary: #ffffff;
    --mdc-theme-on-secondary: #000000;
    --mdc-theme-on-surface: #000000;
    --mdc-theme-on-error: #ffffff;
    --content-max-width: 1200px;
    --hero-background: #1ba4ea;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--mdc-theme-background);
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--mdc-theme-on-surface);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--mdc-theme-primary);
    color: var(--mdc-theme-on-primary);
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--mdc-theme-on-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--mdc-theme-secondary);
}

.main-content {
    padding-top: 75px; /* Height of the top app bar */
}

/* Container for centered content */
.mdc-layout-grid {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 24px;
}

.mdc-top-app-bar__row {
    max-width: var(--content-max-width);
    margin: 0 auto;
    width: 100%;
}

/* Hero Section */
.hero-section {
    background-color: var(--hero-background);
    color: white;
    padding-bottom: 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: left;
}

.hero-image {
    max-width: 800px;
    width: calc(100% - 4rem);
    height: 300px;
    margin: 2rem auto -4rem;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-image-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-content {
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2196f3;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    height: 100%;
    padding: 1rem;
    background: var(--mdc-theme-surface);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.service-card .card-content {
    text-align: left;
    padding: 1.5rem;
}

.service-card .material-icons {
    font-size: 48px;
    color: var(--mdc-theme-primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

/* 
   Styles the bullet point for list items in the feature list.
   - Sets the content to a bullet symbol.
   - Uses the primary theme color for the bullet.
   - Positions the bullet absolutely to align it perfectly.
   - Applies bold font weight to the bullet.
*/
.feature-list li:before {
    content: "•";
    color: var(--mdc-theme-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2196f3;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .mdc-text-field {
    width: 100%;
    margin-bottom: 1rem;
}

.contact-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.contact-form .form-submit {
    margin-top: 1rem;
    text-align: right;
}

.contact-form textarea {
    min-height: 150px;
}

.mdc-button--raised .mdc-button__icon, .mdc-button--unelevated .mdc-button__icon, .mdc-button--outlined .mdc-button__icon {
    margin-left: -4px;
    margin-right: 28px;
    margin-bottom: 20px;
}

/* Downloads Page */
.downloads-page {
    padding: 2rem 0;
}

.download-list {
    margin-top: 2rem;
}

.download-item {
    height: 100%;
    margin-bottom: 1rem;
}

.download-item .mdc-card__content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.download-item .material-icons {
    font-size: 2.5rem;
}

.download-item .mdc-typography--headline6 {
    margin: 0;
    word-break: break-word;
}

.download-item .mdc-button {
    margin-top: auto;
}

@media (max-width: 839px) {
    .download-item {
        margin-bottom: 1rem;
    }
}

/* Footer */
footer {
    background-color: var(--mdc-theme-surface);
    padding: 1rem;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

.footer-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

/* Footer Styles */
footer {
    background-color: #f5f5f5;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
    color: rgba(0, 0, 0, 0.87);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--mdc-theme-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact:hover {
    color: var(--mdc-theme-secondary);
}

.footer-contact .material-icons {
    font-size: 20px;
}

.footer-content p {
    margin: 0;
    color: rgba(0, 0, 0, 0.6);
}

.company-info {
    margin: 1rem 0;
    font-size: 0.9rem;
}

.company-info p {
    margin: 0.25rem 0;
    color: rgba(0, 0, 0, 0.6);
}

.copyright {
    margin-top: 1rem;
    color: rgba(0, 0, 0, 0.6);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-contact {
        justify-content: center;
    }
}

/* Responsive Grid */
@media (max-width: 839px) {
    .mdc-layout-grid__cell--span-4 {
        grid-column-end: span 12;
    }
    
    .mdc-layout-grid {
        padding: 16px;
    }
}

/* Material Design Overrides */
.mdc-card {
    margin-bottom: 1rem;
}

.mdc-button {
    margin: 0.5rem;
}

.mdc-text-field {
    margin-bottom: 1rem;
}

/* Top App Bar */
.mdc-top-app-bar {
    background-color: transparent;
    padding-top: 1rem;
}

.mdc-top-app-bar__row {
    height: auto;
    padding: 0 1rem;
}

.mdc-top-app-bar--fixed-adjust {
    padding-top: calc(64px + 1rem);
}

.mdc-top-app-bar .logo-container {
    padding: 0.5rem 0;
}

.mdc-top-app-bar .logo {
    height: 69px;
    width: auto;
}

/* Navigation styles */
.desktop-nav {
    display: flex;
    align-items: center;
}

.desktop-nav .mdc-button {
    color: white;
    margin-left: 8px;
}

.mdc-top-app-bar {
    background-color: var(--mdc-theme-primary);
}

.mdc-top-app-bar nav {
    display: flex;
    gap: 1rem;
}

.mdc-top-app-bar nav .mdc-button {
    color: white !important;
    text-decoration: none;
    height: 36px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
}

.mdc-top-app-bar nav .mdc-button .mdc-button__label {
    color: white !important;
    font-weight: 500;
}

.mdc-top-app-bar nav .mdc-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mdc-top-app-bar nav .mdc-button .mdc-button__ripple {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Drawer and Navigation */
.mdc-drawer {
    border-color: rgba(0, 0, 0, 0.12);
    background-color: #fff;
    border-radius: 0;
    z-index: 6;
    width: 256px;
    height: 100%;
}

.mdc-drawer .mdc-list {
    padding: 8px 0;
}

.mdc-drawer .mdc-list-item {
    margin: 8px 0;
    padding: 0 16px;
    color: rgba(0, 0, 0, 0.87);
    height: 48px;
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
}

.mdc-drawer .mdc-list-item__ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.mdc-drawer .mdc-list-item__graphic {
    color: inherit;
    margin-right: 32px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mdc-drawer .mdc-list-item__text {
    flex-grow: 1;
    text-align: left;
    text-decoration: inherit;
}

.mdc-drawer .mdc-list-item--activated {
    color: var(--mdc-theme-primary);
    background-color: rgba(33, 150, 243, 0.05);
}

.mdc-drawer-scrim {
    background-color: rgba(0, 0, 0, 0.32);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: none;
    opacity: 0;
    transition: opacity 150ms linear;
}

.mdc-drawer--modal {
    box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2),
                0px 16px 24px 2px rgba(0, 0, 0, 0.14),
                0px 6px 30px 5px rgba(0, 0, 0, 0.12);
    display: none;
}

.mdc-drawer--modal.mdc-drawer--open {
    display: flex;
}

.mdc-drawer--modal.mdc-drawer--open + .mdc-drawer-scrim {
    display: block;
    opacity: 1;
}

.mdc-drawer__header {
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.mdc-drawer__title {
    color: var(--mdc-theme-primary);
    margin: 0;
    font-size: 1.25rem;
}

.mdc-drawer__subtitle {
    color: rgba(0, 0, 0, 0.6);
    margin: 4px 0 0;
    font-size: 0.875rem;
}

.menu-button {
    display: none;
    color: white !important;
}

@media (max-width: 768px) {
    .menu-button {
        display: flex !important;
    }

    .desktop-nav {
        display: none !important;
    }

    .logo {
        height: 50px;
        width: auto;
    }
}

@media (min-width: 769px) {
    .menu-button {
        display: none !important;
    }

    .mdc-drawer.mdc-drawer--modal {
        display: none;
    }

    .mdc-drawer-scrim {
        display: none;
    }
}

/* Sections */
section {
    padding: 4rem 0;
    width: 100%;
}

/* Typography */
.mdc-typography--headline2 {
    margin-bottom: 1rem;
}

.mdc-typography--headline3 {
    margin-bottom: 2rem;
    color: var(--mdc-theme-primary);
}

.mdc-typography--headline4 {
    margin-bottom: 1.5rem;
}

.mdc-typography--body1 {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

main {
    background-color: #fafafa;
    position: relative;
    z-index: 1;
    margin-top: -2rem;
    border-radius: 2rem 2rem 0 0;
    padding-top: 2rem;
}

/* List styles */
.mdc-list {
    list-style: none;
    padding-left: 0;
}

.mdc-list-item {
    position: relative;
    padding-left: 1.5em;
}

.mdc-list-item::before {
    content: "•";
    position: absolute;
    left: 0.5em;
    color: var(--mdc-theme-primary);
}

/* Nested list styles */
.nested-list {
    margin-left: 1.5em;
    padding-left: 0;
}

.nested-list .mdc-list-item {
    margin: 4px 0;
}

/* Service card list styles */
.service-card .mdc-list {
    margin-top: 1rem;
    list-style: disc;
    padding-left: 1.5em;
}

.service-card .mdc-list-item {
    display: list-item !important;
    padding: 4px 0;
    margin: 4px 0;
    height: auto;
    min-height: 32px;
    color: rgba(0, 0, 0, 0.87);
}

.service-card .mdc-list-item::before,
.service-card .mdc-list-item::after {
    display: none !important;
}

.service-card .mdc-list-item:hover {
    background-color: transparent;
}

/* Keep drawer list items as they are */
.mdc-drawer .mdc-list {
    list-style: none;
    padding-left: 0;
}

.mdc-drawer .mdc-list-item {
    display: flex;
    padding-left: 16px;
}

/* Service card styles */
.service-card {
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card .material-icons {
    font-size: 48px;
    color: var(--mdc-theme-primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--mdc-theme-primary);
}

.service-list {
    text-align: left;
    margin-top: 1rem;
    padding-left: 1.5em;
    list-style-type: disc;
    color: rgba(0, 0, 0, 0.87);
}

.service-list li {
    margin: 0.5rem 0;
    line-height: 1.4;
}
