/* ========================================
   American Integrity Medical Supply
   Red, White, Blue Theme + Mobile Responsive
   ======================================== */

:root {
    --primary-blue: #0033A0;
    --accent-red: #DC143C;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-dark: #333333;
    --shadow: 0 2px 5px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* ========================================
   HEADER
   ======================================== */
header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 1rem 0;
    text-align: center;
    box-shadow: var(--shadow);
}

header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

/* ========================================
   NAVIGATION
   ======================================== */
nav {
    background-color: var(--accent-red);
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0.5rem 1rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.9;
    text-decoration: underline;
}

/* ========================================
   HERO SECTION – WITH BACKGROUND IMAGE
   ======================================== */
.hero {
    background: linear-gradient(rgba(0, 51, 160, 0.75), rgba(0, 51, 160, 0.75)), 
                url('hero-dme.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    border-bottom: 4px solid var(--primary-blue);
    position: relative;
}

.hero h2 {
    color: #FFFFFF !important;
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    color: #FFFFFF;
    font-size: 1.2rem;
    margin: 0 0 1.5rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   CONTENT & SECTIONS
   ======================================== */
.content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

section {
    margin-bottom: 3rem;
}

h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* ========================================
   PRODUCTS GRID
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    border: 1px solid var(--primary-blue);
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card h3 {
    color: var(--accent-red);
    margin-top: 0;
    font-size: 1.4rem;
}

/* ========================================
   CTA BUTTON
   ======================================== */
.cta-button {
    background-color: var(--accent-red);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin: 1rem 0;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #B22222;
}

/* ========================================
   CONTACT FORM
   ======================================== */
/* CONTACT FORM – NO BORDER, CLEAN & RESPONSIVE */
#contact-form {
    margin: 2rem 0;
    border: none !important;           /* Remove border */
    border-radius: 0;                  /* Remove rounded corners */
    overflow: hidden;
    box-shadow: none;                  /* Remove shadow */
    background: transparent;
    padding: 0;
}

#contact-form iframe {
    display: block;
    width: 100%;
    min-height: 1448px;
    border: none !important;
    margin: 0;
    padding: 0;
}

/* Optional: Add subtle top/bottom spacing on mobile */
@media (max-width: 768px) {
    #contact-form {
        margin: 1.5rem 0;
    }
    #contact-form iframe {
        min-height: 1600px;
    }
}
/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}

footer a {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}
/* CONTACT FORM – NO BORDER, CLEAN & RESPONSIVE */

/* Optional: Add subtle top/bottom spacing on mobile */
@media (max-width: 768px) {
    #contact-form {
        margin: 1.5rem 0;
    }
    #contact-form iframe {
        min-height: 1600px;
    }
}
/* Mobile: Reduce height if needed */
@media (max-width: 768px) {
    #contact-form iframe {
        min-height: 1600px; /* Give extra room on mobile */
    }
}



/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

/* Tablet & below */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.7rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav li {
        margin: 0.4rem 0;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .content {
        padding: 0 1.5rem;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h2 {
        font-size: 1.7rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 0 1rem;
    }

    h2 {
        font-size: 1.6rem;
    }
}