/* ===================== Reset & Base ===================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-family: -apple-system, Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    height: 100%;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
}

body {
    margin: 0;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

button, input, select {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
}

a,
.bloglink {
    outline: 0;
    text-decoration: none;
    transition: none;
}
a {
    color: #00f;
}
a:link,
a:visited,
a:hover,
a:active,
.bloglink:hover,
.bloglink:active {
    text-decoration: none;
}
a:active,
a:hover,
.bloglink:hover,
.bloglink:active {
    color: #c00;
    outline: 0;
    transition: all 0.3s;
}

/* ===================== Layout & Sections ===================== */
section {
    min-height: 100vh;
    padding: 120px 0;
    color: #000;
}
.section-1 { background: #ffffff; }
.section-2 { background: linear-gradient(135deg, #fde2e4, #fad2e1); }
.section-3 { background: linear-gradient(135deg, #d4fc79, #96e6a1); }
.section-4 { background: linear-gradient(135deg, #a1c4fd, #c2e9fb); }
.section-5 { background: linear-gradient(135deg, #fff1eb, #ace0f9); }
.section-6 { background: linear-gradient(135deg, #fbc2eb, #a6c1ee); }
.section-7 { background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.section-8 { background: linear-gradient(135deg, #cfd9df, #e2ebf0); }

.footer-tm {
    margin: 0;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: small;
}

/* ===================== Navbar ===================== */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* ===================== Hero ===================== */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    color: white;
    font-size: 2rem;
}

/* ===================== Logo ===================== */
.logo {
    height: 42px;
    width: 42px;
    padding: 5px;
    display: block;
    object-fit: contain;
}

/* ===================== Iframe Wrapper ===================== */
.iframe-wrapper {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}
.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.iframe-hide-scroll {
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.iframe-hide-scroll::-webkit-scrollbar {
    display: none;
}

/* ===================== Blog Cards ===================== */
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    font-family: Verdana, sans-serif;
}
.blog-img {
    width: 100%;
    height: 300px;
    object-fit: fill;
}
.blog-content {
    padding: 15px;
}
.blog-title {
    font-size: 18px;
    margin: 0 0 10px;
    color: #333;
}
.blog-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}
.blog-link {
    display: inline-block;
    padding: 8px 12px;
    background: #0077cc;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease;
    width: 100%;
    text-align: center;
}
.blog-link:hover {
    background: #0056b3;
    color: #fff;
}

/* ===================== RAT Cards ===================== */
.rat-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
/*
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1000px;
*/


}
.rat-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
}
.rat-card:hover {
    transform: translateY(-5px);
}
.rat-card img {
    max-width: 200px;
    margin-bottom: 15px;
}
.rat-card h3 {
    margin: 10px 0;
    font-size: 20px;
}
.rat-card p {
    color: #555;
    font-size: 14px;
}
.rat-card .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    background: #007bff;
    color: #fff;
    transition: background 0.3s;
    width: 100%;
    text-align: center;
}
.rat-card .btn:hover {
    background: #0056b3;
}

/* ===================== Preloader ===================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}
.spinner-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
}
.spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border: 10px solid rgba(253, 244, 204, 0);
    border-top: 10px solid #3900fd;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.spinner-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
}
@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
body.loaded #preloader {
    display: none;
}

/* ===================== Gallery ===================== */
.thumb {
    width: 250px;
    height: auto;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}
.thumb:hover {
    transform: scale(1.05);
    border-color: #007bff;
}
.gallery-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
}

/* ===================== Service Cards ===================== */
.service-card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.service-card .btn {
    transition: background-color 0.3s, transform 0.2s;
}
.service-card .btn:hover {
    background-color: #0d6efd;
    transform: scale(1.05);
}

/* ===================== Mobile Styles ===================== */
@media (max-width: 768px) {
    .hero {
        height: 90vh;
        font-size: 1.5rem;
        padding: 20px;
    }
    section {
        padding: 60px 20px;
        height: auto;
    }
    .thumb {
        width: 100%;
        max-width: 200px;
        margin: 5px auto;
    }
    .gallery-row {
        flex-direction: column;
        align-items: center;
    }
    .service-card {
        margin-bottom: 20px;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .spinner-wrapper, 
    .spinner {
        width: 60px;
        height: 60px;
    }
    .spinner-logo {
        width: 40px;
        height: 40px;
    }
    .responsive-table thead {
        display: none;
    }
    .responsive-table,
    .responsive-table tbody,
    .responsive-table tr,
    .responsive-table td {
        display: block;
        width: 100%;
    }
    .responsive-table tr {
        margin-bottom: 1rem;
        border-bottom: 2px solid #dee2e6;
    }
    .responsive-table td {
        position: relative;
        text-align: right;
        padding-left: 50%;
        border: none;
        border-bottom: 1px solid #dee2e6;
    }
    .responsive-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 1rem;
        font-weight: bold;
        text-align: left;
    }
}
