/* Custom TuitionDaily Colors (Defined as CSS Variables) */
:root {
    --td-lime: #E6F2BB;       /* Primary Background */
    --td-dark: #144023;       /* Primary Text / Dark Green */
    --td-light-grey: #F8FBFB; /* Card Background */
    --td-grey-text: #69737C;  /* Description Text */

    /* Custom Color Overrides for Bootstrap */
    --bs-primary: var(--td-dark);
}

/* 1. Custom Utility Classes */
.bg-td-lime { background-color: var(--td-lime) !important; }
.bg-td-dark { background-color: var(--td-dark) !important; }
.bg-td-light-grey { background-color: var(--td-light-grey) !important; }
.text-td-dark { color: var(--td-dark) !important; }
.text-td-grey-text { color: #69737C !important; }
.bg-td-light-orange { background-color: rgb(255, 244, 229) !important; }


a {
    color: rgb(132, 204, 0) !important;
}

/* Custom Navigation Styling (Matching Dark Green Text & Double Underline) */

.nav-link { 
    /* Base Link Text Color: Use DARK GREEN variable, not the lime color */
    color: var(--td-dark) !important; 
    font-weight: 600; /* Semi-bold */ 
    padding: 0.5rem 1rem;
    position: relative; /* Crucial for positioning the underline */
    transition: color 0.2s ease;
}

/* Hover and Active State Text Color (Lighter Green) */
.nav-link:hover, 
.nav-item.current-menu-item .nav-link {
    color: #25D366 !important; /* A lighter green for contrast on hover/active */
}
/* Double Line Underline Effect (Corrected) */
.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px; /* The height of the ::after element itself is thin */
    bottom: -8px; /* Position below the text */
    left: 0;
    
    /* Use box-shadow to create two separate lines */
    box-shadow: 
        0 0 0 1px #25D366, /* First thin lime-blue line */
        0 1px 0 1px #25D366; /* Second thin lime-blue line, 4px below the first */

    opacity: 0; /* Hidden by default */
    transform: scaleX(0); /* Start scaled down to zero */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show the Double Line on Hover and Active */
.nav-link:hover::after,
.nav-item.current-menu-item .nav-link::after {
    opacity: 1;
    transform: scaleX(0.7); /* Scale up to 70% of link width */
}


/* Inputs Including Search Fields */
.input-group-lg>.btn, .input-group-lg>.form-control, .input-group-lg>.form-select, .input-group-lg>.input-group-text { 
    font-size: 0.85rem; 
}



/* Customizing Bootstrap buttons to match Dark Green CTA */
.btn-primary, .btn-primary:focus {
    background-color: var(--td-dark);
    border-color: var(--td-dark);
    color: white;
}
.btn-primary:hover {
    background-color: #1a512d; /* Slightly darker shade for hover */
    border-color: #1a512d;
}

/* 2. Custom Navigation Styling (Matching Design) */

/* The Bootstrap link class 'nav-link' is what we need to target */
.navbar-nav .nav-link {
    /* Base Link Text Color: Use !important to defeat Bootstrap's default link color */
    color: rgb(30, 178, 0) !important; 
    font-weight: 600;  
    padding: 0.5rem 1rem;
    position: relative; 
    transition: color 0.2s ease;
}

/* Hover and Active State Text Color (Lighter Green) */
.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active,
.navbar-nav .nav-item.current-menu-item .nav-link {
    color: #4CAF50 !important; /* Lighter green with !important */
}

/* Double Line Underline Effect */

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px; 
    bottom: -10px; 
    left: 0;
    
    background: repeating-linear-gradient(
        to right,
        var(--td-dark) 0,
        var(--td-dark) 40%, 
        transparent 40%, 
        transparent 60%, 
        var(--td-dark) 60%,
        var(--td-dark) 100% 
    );
    opacity: 0; 
    transform: scaleX(0); 
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show the Double Line on Hover or Active */
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-item.current-menu-item .nav-link::after {
    opacity: 1;
    transform: scaleX(0.7); 
}


.list-unstyled {
    line-height: 1.9;
   
}

.list-unstyled a {
    color:#144023 !important;
     text-decoration:none;
}

