/* ----------------------------------------------------
   UNIVERSAL RESPONSIVE + FULL-SCREEN LAYOUT
----------------------------------------------------- */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basic layout */
html, body {
    width: 100%;
    height: 100%;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
    overflow-x: hidden;
}

/* Make container full-width on mobile */
.container {
    width: 95%;
    max-width: 1200px;
    margin: auto;
}

/* Headings improve on all screens */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}

/* Responsive images */
img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* Buttons */
button, .btn {
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    background: #007bff;
    color: #fff;
    width: 100%;
    transition: 0.2s;
}

button:hover, .btn:hover {
    background: #0069d9;
}

/* Cards */
.card {
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    margin: 12px 0;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.1);
}

/* Forms */
input, select, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    font-size: 15px;
}

input:focus, select:focus, textarea:focus {
    border-color: #007bff;
}

/* Header & Navigation */
header {
    width: 100%;
    padding: 14px;
    background: #007bff;
    color: #fff;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    background: #111;
    color: #fff;
}

/* ----------------------------------------------------
   RESPONSIVE BREAKPOINTS
----------------------------------------------------- */

/* MOBILE SMALL SCREEN - BELOW 480px */
@media (max-width: 480px) {

    h1 { font-size: 22px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }

    button, .btn {
        font-size: 14px;
        padding: 12px;
    }

    .card {
        padding: 14px;
    }
}

/* MEDIUM DEVICES - Tablets (481px - 768px) */
@media (max-width: 768px) {

    .container {
        width: 90%;
    }

    button, .btn {
        font-size: 15px;
    }
}

/* LARGE DEVICES - (769px - 1024px) */
@media (max-width: 1024px) {

    .container {
        width: 92%;
    }
}
