/* ===========================================
   Latha Marriage Bureau
   Legal Pages
=========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:
    "Segoe UI",
    Arial,
    Helvetica,
    sans-serif;

    background:#FFF8F3;

    color:#333;

    line-height:1.7;

}

/* Header */

header{

    background:#8B002E;

    color:white;

    padding:20px;

    text-align:center;

    box-shadow:0 3px 10px rgba(0,0,0,.12);

}

.logo{

    width:90px;

    height:90px;

    border-radius:50%;

    background:white;

    padding:8px;

    object-fit:contain;

}

header h1{

    margin-top:12px;

    font-size:34px;

    font-weight:700;

}

header p{

    margin-top:8px;

    opacity:.9;

    font-size:16px;

}

/* Navigation */

nav{

    background:white;

    border-bottom:1px solid #ececec;

    position:sticky;

    top:0;

    z-index:100;

}

nav ul{

    max-width:1200px;

    margin:auto;

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    list-style:none;

}

nav li{

    margin:0;

}

nav a{

    display:block;

    padding:18px 22px;

    text-decoration:none;

    color:#8B002E;

    font-weight:600;

    transition:.25s;

}

nav a:hover{

    background:#FFF2F5;

}

/* Container */

.container{

    max-width:1000px;

    margin:auto;

    padding:50px 25px;

}

/* Card */

.card{

    background:white;

    border-radius:18px;

    padding:40px;

    margin-bottom:30px;

    box-shadow:0 8px 30px rgba(0,0,0,.08);

}

/* Headings */

h2{

    color:#8B002E;

    margin-bottom:18px;

    font-size:28px;

}

h3{

    color:#8B002E;

    margin-top:30px;

    margin-bottom:15px;

}

p{

    margin-bottom:15px;

}

ul{

    margin-left:22px;

    margin-bottom:20px;

}

li{

    margin-bottom:8px;

}

/* Highlight */

.notice{

    background:#FFF6DA;

    border-left:6px solid #D4AF37;

    padding:20px;

    border-radius:10px;

    margin:25px 0;

}

/* Table */

table{

    width:100%;

    border-collapse:collapse;

    margin-top:20px;

}

table th{

    background:#8B002E;

    color:white;

}

table th,
table td{

    padding:14px;

    border:1px solid #ddd;

    text-align:left;

}

/* Footer */

footer{

    background:#8B002E;

    color:white;

    text-align:center;

    padding:35px 20px;

    margin-top:60px;

}

footer p{

    margin:6px 0;

}

/* Buttons */

.button{

    display:inline-block;

    background:#8B002E;

    color:white;

    text-decoration:none;

    padding:14px 24px;

    border-radius:10px;

    margin-top:20px;

    transition:.25s;

}

.button:hover{

    background:#690023;

}

/* Mobile */

@media(max-width:768px){

header h1{

    font-size:26px;

}

.card{

    padding:25px;

}

nav ul{

    flex-direction:column;

}

nav a{

    text-align:center;

}

.logo{

    width:70px;

    height:70px;

}

}