@font-face {
    font-family: "Kruti010";
    src: url("K010.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Kruti016";
    src: url("K016.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    padding: 2rem 0;
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.custom-select {
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
}

.input-group {
    display: flex;
    align-items: stretch;
}

.custom-textarea {
    resize: vertical;
    min-height: 150px;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 8px;
}

.custom-textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.text-muted {
    color: #6c757d !important;
}

.text-primary {
    color: #007bff !important;
}

#KrutiText {
    font-family: "Kruti010";
    font-size: 1.25rem;
}

#MangalText {
    font-size: 1.1rem;
}

.animate__animated {
    animation-duration: 0.6s;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

.animate__fadeOut {
    animation-name: fadeOut;
}

.jumbotron {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 2rem 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 10% !important;
}

.jumbotron h4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.control-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
}

select.form-control {
    height: auto;
    padding: 0.75rem;
}

input[type="number"].form-control {
    text-align: center;
    font-size: 1.25rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 200px;
    padding: 1rem;
}

select.form-control:focus,
input.form-control:focus,
textarea.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

form {
    font-size: 30px;
    height: auto;
}

textarea#KrutiText {
    font-family: "Kruti010";
    font-size: 22px;
    min-height: 300px;
    resize: vertical;
    height: 100%;
}

textarea#MangalText {
    font-size: 16px;
    min-height: 300px;
    resize: vertical;
    height: 100%;
}

.btn-info {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-info:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-primary {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

#krutifont {
    padding: 0.75rem;
    border-radius: 8px;
}

#krutifontsize {
    padding: 0.75rem;
    border-radius: 8px;
}

.control-label {
    font-weight: 600;
    color: #495057;
}

.row.second_row {
    margin: 2rem 0;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 60%;
}

footer {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    color: #6c757d;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

footer .text-center {
    background: transparent !important;
}

footer a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

footer a:hover {
    color: #0056b3;
    text-decoration: underline;
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}
