/* General Styles */
html {
    scroll-behavior: smooth;
    min-width: 100%;
    overflow-x: hidden;
}

body {
    background: #f4f7f6;
    color: #1F2937;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

.mt-5 {
    margin-top: 5rem !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #007bff 30%, #6610f2 100%);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    border-radius: 10px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
}

/* Converter Cards */
.card {
    transition: 0.3s;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: scale(1.02);
    transition: transform 0.2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.indexcard:hover {
    /* color: rgb(52, 152, 27); */
    background-color: rgb(170, 231, 194);
}

.card h5 {
    font-weight: 600;
}

.card a {
    text-decoration: none;
    color: #333;
}

/* Navbar */
.navbar {
    /* background-color: #14532D; */
    background-color: rgb(97, 183, 131);
    position: fixed;
    width: 100%;
    top: 10px !important;
    z-index: 1000;
}

.navbar-brand,
.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
    color: rgb(52, 152, 27) !important;
    transform: scale(1.1);
}

#topBtn {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    font-size: 30px;
    border: none;
    outline: none;
    background-color: rgb(97, 183, 131);
    color: white;
    cursor: pointer;
    text-align: center;
    border-radius: 50%;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

#topBtn:hover {
    background: #f4f7f6;
    color: rgb(97, 183, 131);
}

/* Skewed Main Header */
.main-header {
    background: linear-gradient(135deg, #14532D 0%, #1F2937 100%);
    padding: 20px 20px;
    color: white;
    transform: skewY(-2deg);
    text-align: center;
}

.main-header h1 {
    transform: skewY(2deg);
    font-size: 3rem;
}

.about-img:hover {
    transform: scale(1.05) rotate(-1deg);
    transition: transform 0.5s ease;
}

.team-card {
    border: none;
    border-radius: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
    transform: translateY(-10px) scale(1.03);
}

.contact-section {
    background: #E6F7F1;
    padding: 50px 20px;
    text-align: center;
    border-radius: 20px;
    margin-top: 60px;
}

.contact-btn {
    background-color: #14532D;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
}

.contact-btn:hover {
    background-color: #0d3e20;
}

.navbar-brand {
    position: relative;
    display: inline-block;
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
}

.navbar-brand::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgb(52, 152, 27);
    /* underline color */
    transition: background-color 0.3s ease;
}

.navbar-brand:hover {
    color: rgb(52, 152, 27) !important;
    /* text color on hover */
}

.navbar-brand:hover::after {
    background-color: #ffffff;
    /* underline color on hover */
}

.custom-loader {
    width: 60px;
    height: 60px;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #ff3e00;
    /* Orange */
    border-right: 8px solid #0f0;
    /* Green */
    border-bottom: 8px solid #00f;
    /* Blue */
    border-left: 8px solid #f00;
    /* Red */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Footer Style */
.footer-custom {
    background: #1F2937;
    color: white;
    padding: 25px 10px;
    margin-top: 60px;
}

.footer-links {
    margin-top: 5px;
}

.footer-links a {
    color: #E6F7F1;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: rgb(52, 152, 27);
    transform: scale(1.1);
}

#pageLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}