/* ===========================================
   AP1.MY Stylesheet
   =========================================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f7fb;
    color:#333;
    line-height:1.7;
}

/* Header */

header{
    background:linear-gradient(135deg,#1d4ed8,#2563eb);
    color:#fff;
    padding:70px 20px;
    text-align:center;
}

header h1{
    font-size:42px;
    margin-bottom:15px;
}

header p{
    max-width:750px;
    margin:auto;
    font-size:18px;
    opacity:.95;
}

/* Navigation */

nav{
    background:#fff;
    padding:18px;
    text-align:center;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:999;
}

nav a{
    text-decoration:none;
    margin:0 18px;
    color:#2563eb;
    font-weight:bold;
    transition:.3s;
}

nav a:hover{
    color:#1d4ed8;
}

/* Container */

.container{
    width:90%;
    max-width:1100px;
    margin:auto;
    padding:50px 0;
}

/* Card */

.card{
    background:#fff;
    padding:35px;
    margin-bottom:30px;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.card h2{
    margin-bottom:15px;
    color:#1d4ed8;
}

/* Feature Grid */

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

.feature{
    background:#eef5ff;
    padding:25px;
    border-radius:10px;
    transition:.3s;
}

.feature:hover{
    transform:translateY(-5px);
    box-shadow:0 8px 18px rgba(0,0,0,.10);
}

.feature h3{
    margin-bottom:10px;
    color:#1d4ed8;
}

/* Button */

.button{
    display:inline-block;
    margin-top:25px;
    padding:13px 30px;
    border-radius:30px;
    background:#fff;
    color:#2563eb;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.button:hover{
    background:#dbeafe;
}

/* Lists */

ul{
    margin-top:10px;
    margin-left:25px;
}

/* Footer */

footer{
    background:#111827;
    color:#ddd;
    padding:40px 20px;
    text-align:center;
}

footer a{
    color:#60a5fa;
    text-decoration:none;
    margin:0 10px;
}

footer a:hover{
    text-decoration:underline;
}

/* Responsive */

@media(max-width:768px){

header h1{
    font-size:34px;
}

header p{
    font-size:16px;
}

nav a{
    display:inline-block;
    margin:8px;
}

.card{
    padding:25px;
}

}

/* ===================================
   AP1.MY Modern Contact Form
   =================================== */


.card form{

    margin-top:25px;

}



.card form label{

    display:block;

    margin-bottom:8px;

    color:#1d4ed8;

    font-weight:bold;

    font-size:16px;

}



.card form input,
.card form textarea{

    width:100%;

    padding:15px 18px;

    margin-bottom:20px;

    border:1px solid #dbe4f0;

    border-radius:12px;

    background:#f8fafc;

    color:#333;

    font-size:16px;

    font-family:Arial, Helvetica, sans-serif;

    transition:all .3s ease;

}



.card form input::placeholder,
.card form textarea::placeholder{

    color:#94a3b8;

}




.card form input:focus,
.card form textarea:focus{

    outline:none;

    background:#ffffff;

    border-color:#2563eb;

    box-shadow:
    0 0 0 4px rgba(37,99,235,.12);

}



.card form textarea{

    min-height:160px;

    resize:vertical;

}



/* Modern submit button */

.card form .button{

    border:none;

    cursor:pointer;

    background:#2563eb;

    color:white;

    padding:14px 35px;

}



.card form .button:hover{

    background:#1d4ed8;

    transform:translateY(-2px);

}

input[type="text"] {
   width: 100%;
   padding: 12px 20px;
   margin: 8px 0;
   box-sizing: border-box;
   border: 2px solid red;
   border-radius: 4px;
}

/* ===========================================
   Contact Form
   =========================================== */
/* Reset */
*,
*::before,
*::after{
    box-sizing:border-box;
}

/* Card */
.card{
    width:100%;
    max-width:100%;
    background:#fff;
    padding:32px;
    border-radius:14px;
    border:1px solid #e5e7eb;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/* Heading */
.card h2{
    margin:0 0 10px;
    font-size:30px;
    font-weight:700;
    color:#222;
}

.card p{
    color:#666;
    line-height:1.6;
}

/* Form */
.contact-form{
    width:100%;
}

.form-group{
    margin-bottom:20px;
}

/* Labels */
.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#333;
}

/* Inputs */
.contact-form input,
.contact-form select,
.contact-form textarea{
    width:100%;
    padding:14px 16px;
    font-size:16px;
    border:1px solid #d1d5db;
    border-radius:10px;
    background:#fff;
    transition:.25s;
    outline:none;
    font-family:inherit;
}

/* Textarea */
.contact-form textarea{
    resize:vertical;
    min-height:160px;
}

/* Focus */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.15);
}

/* Placeholder */
.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color:#9ca3af;
}

/* Select arrow */
.contact-form select{
    cursor:pointer;
}

/* Button */
.button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:10px;
    background:#2563eb;
    color:#fff;
    font-size:17px;
    font-weight:600;
    cursor:pointer;
    transition:.25s;
}

.button:hover{
    background:#1d4ed8;
    transform:translateY(-1px);
}

.button:active{
    transform:translateY(0);
}

/* Notes */
.form-note{
    font-size:1Opx;
    color:#777;
    text-align:center;
    margin-top:10px;
}

/* Mobile */
@media (max-width:768px){

    .card{
        padding:20px;
        border-radius:10px;
    }

    .card h2{
        font-size:26px;
    }

}
