/* SimpleClinic.net Design Match */

/* Import Google Fonts - Open Sans and Raleway */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Raleway:wght@100;200;300;400;500;600;700;800;900&display=swap');

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

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7em;
    color: #666;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1080px;
    width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 980px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', Arial, sans-serif;
    color: #333;
    line-height: 1.2em;
    margin-bottom: 0.5em;
    font-weight: 500;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 14px;
}

p {
    margin-bottom: 1em;
    color: #666;
}

a {
    color: #2EA3F2;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

a:hover {
    color: #1e8acc;
}

.inline-link {
    text-decoration: none;
    border-bottom: 1px solid #2EA3F2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.3em 1em;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Open Sans', Arial, sans-serif;
    text-align: center;
    border: 2px solid #2EA3F2;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    text-decoration: none;
}

.btn:hover {
    opacity: 0.8;
}

.btn-primary {
    background-color: #2EA3F2;
    color: #fff;
    border-color: #2EA3F2;
}

.btn-primary:hover {
    background-color: #1e8acc;
    border-color: #1e8acc;
    color: #fff;
}

.btn-secondary {
    background-color: #fff;
    color: #2EA3F2;
    border-color: #2EA3F2;
}

.btn-secondary:hover {
    background-color: #2EA3F2;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: #2EA3F2;
    border-color: #2EA3F2;
}

.btn-outline:hover {
    background-color: #2EA3F2;
    color: #fff;
}

.btn-large {
    padding: 0.5em 1.5em;
    font-size: 22px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #e2e2e2;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.logo a {
    color: #333;
}

.logo a:hover {
    color: #2EA3F2;
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

@media (max-width: 768px) {
    .main-nav {
        flex-wrap: wrap;
        gap: 15px;
    }
}

.nav-link {
    color: #666;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    transition: all 0.4s ease-in-out;
}

.nav-link:hover {
    color: #2EA3F2;
}

.nav-link-primary {
    background-color: #2EA3F2;
    color: #fff;
    border-radius: 3px;
    padding: 8px 16px;
}

.nav-link-primary:hover {
    background-color: #1e8acc;
    color: #fff;
}

/* Main Content */
.site-main {
    min-height: 60vh;
}

/* Sections */
section {
    padding: 60px 0;
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-intro {
    font-size: 16px;
    line-height: 1.7em;
    color: #666;
}

/* Hero Section */
.hero {
    background-color: #2EA3F2;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
}

.hero h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7em;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 300;
}

.hero-subtitle strong {
    font-weight: 600;
}

.hero .inline-link {
    color: #fff;
    border-bottom-color: #fff;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-cta .btn {
    background-color: #fff;
    color: #2EA3F2;
    border-color: #fff;
}

.hero-cta .btn:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.hero-cta .btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.hero-cta .btn-secondary:hover {
    background-color: #fff;
    color: #2EA3F2;
}

/* About Section */
.about {
    background-color: #f3f3f3;
}

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

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 3px;
    border: 1px solid #e2e2e2;
    transition: all 0.4s ease-in-out;
}

.feature-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-color: #2EA3F2;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.7em;
}

/* Portals Section */
.portals {
    background-color: #fff;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portal-card {
    background-color: #f3f3f3;
    padding: 40px 30px;
    border-radius: 3px;
    border: 1px solid #e2e2e2;
    text-align: center;
    transition: all 0.4s ease-in-out;
}

.portal-card:hover {
    border-color: #2EA3F2;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.portal-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 22px;
}

.portal-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7em;
}

.portal-card .btn {
    margin-top: 10px;
}

/* Company Info Section */
.company-info {
    background-color: #f3f3f3;
}

.company-content {
    max-width: 800px;
    margin: 0 auto;
}

.company-content h2 {
    margin-bottom: 20px;
}

.company-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 20px;
}

.company-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.7em;
}

/* CTA Bottom Section */
.cta-bottom {
    background-color: #2EA3F2;
    color: #fff;
    text-align: center;
}

.cta-bottom h2,
.cta-bottom p {
    color: #fff;
}

.cta-bottom h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 15px;
}

.cta-bottom p {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 300;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-bottom .btn {
    background-color: #fff;
    color: #2EA3F2;
    border-color: #fff;
}

.cta-bottom .btn:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.cta-bottom .btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.cta-bottom .btn-outline:hover {
    background-color: #fff;
    color: #2EA3F2;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #999;
    padding: 60px 0 30px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.footer-section p {
    color: #999;
    font-size: 14px;
    line-height: 1.7em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #999;
    font-size: 14px;
    transition: all 0.4s ease-in-out;
}

.footer-links a:hover {
    color: #2EA3F2;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #777;
    font-size: 13px;
    margin-bottom: 0;
}

/* Accessibility */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid #2EA3F2;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .hero-cta,
    .cta-bottom {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}
