/*
Theme Name: FreeMedis Landing Page
Theme URI: https://freemedis.com
Author: TrustMedis
Author URI: https://trustmedis.com
Description: A custom landing page theme for FreeMedis - Hospital Information System & Electronic Medical Records solution. Clean, modern, and fully responsive design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: freemedis
Tags: landing-page, one-page, medical, healthcare, custom-colors, responsive-layout
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

header {
    background: #003366;
    color: #fff;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container img {
    height: 40px;
}

.logo-container h1 {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
}

.logo-container p {
    font-size: 12px;
    margin: 0;
    color: #ccc;
}

header a {
    background: #2DBE7E;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
}

header a:hover {
    background: #259968;
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(to bottom, #003366, #2DBE7E);
    color: #fff;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero a {
    background: #fff;
    color: #003366;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.hero a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.features h3 {
    font-size: 28px;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-card h4 {
    margin: 0 0 10px;
    color: #003366;
    font-size: 18px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
    padding: 60px 20px;
    text-align: center;
}

.contact h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact a.btn {
    background: #2DBE7E;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.contact a.btn:hover {
    background: #259968;
    transform: translateY(-2px);
}

.contact p a {
    color: #003366;
    font-weight: bold;
    text-decoration: none;
}

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

/* ==========================================================================
   Footer Styles
   ========================================================================== */

footer {
    background: #f0f0f0;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px 20px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .features {
        padding: 40px 20px;
    }

    .contact {
        padding: 40px 20px;
    }
}