/*
Theme Name: KSAGRANTS
Theme URI: https://ksagrants.me/
Author: KSAGRANTS
Author URI: https://ksagrants.com/
Description: 
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: Ksagrants
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
 
@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@160..700&display=swap');
 
html {
    -webkit-text-size-adjust: 100%;
   	scroll-behavior: smooth;
}
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
  background: #000; 
}
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}
::-webkit-scrollbar {
  width: 10px;
}
* {
	box-sizing: border-box;
  }
body {
	padding: 0;
    margin: 0;
    width: 100%;
 
}

body, html, div, button, input, textarea, select {
    font-family: "Readex Pro", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "HEXP" 0;
}

textarea, input {
    width: 100%;
    display: block;
    outline: none;
    border: .4px solid #000;
    background: #fff;
    padding: 15px;
    margin: .7rem 0;
}

 
.article-container {
    margin: 0 auto;
    margin-bottom: 3rem;
    margin-top: 2rem;
    max-width: 42rem;
    padding-inline: 2.5rem;
    line-height: 1.8;
    font-size: 15px;
    color: #393838;
}
.article-container  p {
    margin-bottom: 1.7rem;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #4f46e5;
    --accent-color: #00ffff;
    --background-color: #f9fafb;
    --text-color: #1f2937;
    --meta-color: #6b7280;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --gradient-1: linear-gradient(135deg, #6366F1, #8B5CF6);
    --gradient-2: linear-gradient(135deg, #10B981, #3B82F6);
    --gradient-3: linear-gradient(135deg, #F59E0B, #EF4444);
    --gradient-4: linear-gradient(135deg, #EC4899, #8B5CF6);
    --gradient-5: linear-gradient(135deg, #14B8A6, #8B5CF6);
    --gradient-6: linear-gradient(135deg, #F97316, #FBBF24);


}

body {
    background-color: #00968824;
    color: var(--text-color);
 
    line-height: 1.75;
}



/* Header Section */

      .header {
          background-color: var(--bg-color);
          padding: 0 1rem;
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }
      .fixed-content {
          display: flex;
          align-items: center;
          justify-content:space-around;
          width: 100%;
      }
                  
        .logo img {
             width: 100%;
             height: 68px;
             object-fit: cover;
         }
        body.dark-theme .logo img {
            content: url('/wp-content/themes/ksagrants/assets/images/ksagrantslogo-dark.svg');
        }

        .nav-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--primary-color);
            font-size: 1.5rem;
            cursor: pointer;
        }

        .nav {
            display: flex;
            gap: 2rem;
        }

        .nav a {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--secondary-color);
            transition: width 0.3s ease;
        }

        .nav a:hover::after {
            width: 100%;
        }

        .controls {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .theme-toggle {
            background: none;
            border: none;
            color: var(--primary-color);
            cursor: pointer;
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }

        .theme-toggle:hover {
            transform: rotate(15deg);
        }

        .search-form {
            display: flex;
            background-color: var(--nav-bg);
            border-radius: 50px;
            padding: 0.3rem;
        }

        .search-input {
            padding: 0.5rem 1rem;
            border: none;
            background: transparent;
            outline: none;
            font-size: 0.9rem;
            color: var(--text-color);
        }

        .search-button {
            background-color: var(--secondary-color);
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            cursor: pointer;
            border-radius: 50px;
            transition: background-color 0.3s ease;
        }

        .search-button:hover {
            background-color: var(--accent-color);
        }

        @media (max-width: 768px) {
            .header-content {
                flex-wrap: wrap;
            }
            .theme-toggle {
                border: none;
                color: var(--primary-color);
                cursor: pointer;
                transition: transform 0.3s ease;
                position: fixed;
                background: #fff;
                border-radius: 100%;
                z-index: 1555;
                height: 65px;
                width: 65px;
                bottom: .7rem;
                left: .7rem;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 2rem;
            }
            .nav-toggle {
                display: block;
                order: 1;
            }

            .logo {
                order: 0;
            }

            .nav {
                display: none;
                flex-direction: column;
                width: 100%;
                order: 3;
                margin-top: 1rem;
                background-color: var(--nav-bg);
                padding: 3rem;
                border-radius: 10px;
            }

         .nav.active {
             display: flex;
             position: absolute;
             top: 6rem;
             z-index: 25555;
             right: 0;
         }
         .controls {
             width: 100%;
             order: 2;
             margin-top: 1rem;
             display: flex;
             align-items: center;
             justify-content: center;
         }

            .search-form {
                flex-grow: 1;
                max-width: 300px;
            }
        }




/* Home Page */

   
        .hero {
            position: relative;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
            overflow: hidden;
        }
        .hero::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1;
        }
        .hero-content {
            z-index: 2;
            max-width: 800px;
            padding: 0 20px;
        }
        .hero-title {
            font-size: 3.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        .hero-description {
            font-size: 1.3rem;
            font-weight: 300;
            margin-bottom: 2rem;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }
        .cta-button {
            padding: 12px 30px;
            font-size: 1.1rem;
            font-weight: 400;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            background: linear-gradient(45deg, #009688, #4ECDC4);
            color: #fff;
            position: relative;
            overflow: hidden;
        }
        .cta-button:hover {
            background-color: #45a049;
            transform: translateY(-3px);
            box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
        }
        .scroll-down {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 2rem;
            cursor: pointer;
            animation: bounce 2s infinite;
            z-index: 2;
            opacity: 0.7;
            transition: opacity 0.3s ease;
        }
        .scroll-down:hover {
            opacity: 1;
        }
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0) translateX(-50%);
            }
            40% {
                transform: translateY(-30px) translateX(-50%);
            }
            60% {
                transform: translateY(-15px) translateX(-50%);
            }
        }
        #hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translateX(-50%) translateY(-50%);
            z-index: 0;
        }
.card-container {
    background-color: #f0f4f8;
    padding: 12rem  20px;
    color: #333;
}
    .card-container .container {
            max-width: 1200px;
            margin: 0 auto;
        }
   .card-container .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
        }
   .card-container .card {
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: all 0.3s ease;
        }
.card-container .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }
.card-container .card-header {
        background: linear-gradient(45deg, #009688, #4ECDC4);
        color: #fff;
        padding: 20px;
        position: relative;
        overflow: hidden;
    }
.card-header a {
    color: #fff;
    padding: 20px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.card-container .card-header h3 {
            font-size: 1.4rem;
            font-weight: 600;
            margin-bottom: 5px;
        }
     .card-container   .card-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: rgba(255, 255, 255, 0.1);
            transform: rotate(45deg);
            z-index: 0;
        }
      .card-container  .card-body {
            padding: 25px;
        }
       .card-container .card-body p {
            color: #666;
            margin-bottom: 15px;
        }
       .card-container .card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9rem;
            color: #888;
            margin-top: 20px;
        }
       .card-container .card-category,
       .card-container .study-type {
            background-color: #e9ecef;
            color: #495057;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
        }
        .card-container .study-type {
            background-color: #FFEFCD;
            color: #F5A224;
        }
      .card-container  .card-date {
            font-style: italic;
        }
        @media (max-width: 600px) {
       .card-container     .card-grid {
                grid-template-columns: 1fr;
            }
.hero {
 height: 60vh;
}}


 
.section-cards {
    min-height: 70vh;
    margin: 0;
    padding: 7rem 20px;
    box-sizing: border-box;
    background-color: #0808080a;
    color: var(--text-color);
    line-height: 1.75;
}
        .card-grid{
            display: flex;
            align-items: center;
            justify-content: center;
        }

         .home .section-cards  h2,
         .home .card-container h2{
            text-align: center;
            margin-bottom: 4rem;
            font-size: 2.5rem;
            font-weight: 900;
        }
        .section-cards .container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 1rem;
            max-width: 1400px;
            width: 100%;
        }

        .section-cards .card {
            background: rgb(255 255 255);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 2rem;
            transition: all 0.3s ease;
            overflow: hidden;
            position: relative;
        }

        .section-cards .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
        }

        .section-cards .card:nth-child(1)::before { background: var(--gradient-1); }
        .section-cards .card:nth-child(2)::before { background: var(--gradient-2); }
        .section-cards .card:nth-child(3)::before { background: var(--gradient-3); }
        .section-cards .card:nth-child(4)::before { background: var(--gradient-4); }
        .section-cards .card:nth-child(5)::before { background: var(--gradient-5); }
        .section-cards .card:nth-child(6)::before { background: var(--gradient-6); }

        .section-cards .card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
        }

        .section-cards .card h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .section-cards .card:nth-child(2) h3 { background: var(--gradient-2); -webkit-background-clip: text; }
        .section-cards .card:nth-child(3) h3 { background: var(--gradient-3); -webkit-background-clip: text; }
        .section-cards .card:nth-child(4) h3 { background: var(--gradient-4); -webkit-background-clip: text; }
        .section-cards .card:nth-child(5) h3 { background: var(--gradient-5); -webkit-background-clip: text; }
        .section-cards .card:nth-child(6) h3 { background: var(--gradient-6); -webkit-background-clip: text; }

        .section-cards .card p {
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .section-cards .icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        @media (max-width: 1200px) {
            .section-cards .container {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .section-cards .container {
                grid-template-columns: 1fr;
            }
        }
figure.wp-block-table {
    overflow-x: auto;
    margin: 1.8rem 0;
}


        .institutions-table-container {
            max-width: 1000px;
            margin: 2rem auto;
            overflow-x: auto;
        }
        .institutions-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
            transition: all 0.3s ease;
        }
        .institutions-table:hover {
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
        }
        .institutions-table th,
        .institutions-table td {
            padding: 16px 24px;
            text-align: right;
        }
        .institutions-table thead {
            background-color: #4a4a4a;
            color: #ffffff;
        }
        .institutions-table th {
            font-weight: 600;
            text-transform: uppercase;
            font-size: 14px;
            letter-spacing: 0.5px;
        }
        .institutions-table tbody tr {
            background-color: #ffffff;
            transition: background-color 0.3s ease;
        }
        .institutions-table tbody tr:nth-child(even) {
            background-color: #f8f9fa;
        }
        .institutions-table tbody tr:hover {
            background-color: #e9ecef;
        }
        .institutions-table td {
            font-size: 15px;
            color: #333;
            border-bottom: 1px solid #e0e0e0;
        }
        .institutions-table tbody tr:last-child td {
            border-bottom: none;
        }
        .rank {
            font-weight: bold;
            color: #4a4a4a;
        }
        .institution-name a {
            font-weight: 500;
            color: #2c3e50;
			text-decoration: none;
				
        }
        .local-ranking {
            font-weight: 500;
            color: #3498db;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .institutions-table tbody tr {
            animation: fadeIn 0.5s ease-out forwards;
            opacity: 0;
        }
        .institutions-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
        .institutions-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
        .institutions-table tbody tr:nth-child(3) { animation-delay: 0.3s; }








/*Sinlge University */




.hybrid-modern-post {
    max-width: 900px;
    margin: 4rem auto;
    padding: 3rem;
    background-color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}
.hybrid-modern-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}
input.subscribe-now {
    background: linear-gradient(90deg, #2196F3, #34a2d3);
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    display: flex;
    width: auto;
    padding: 21px;
    border: 0;
}
input.subscribe-now::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
input.subscribe-now:hover {
    background: linear-gradient(135deg, #009688 0%, rgb(0 87 51) 100%);
    transform: translateY(-5px);
}
.upper-cta span {
    font-size: 14px;
    color: #878484;
}

.upper-cta h2 {
    margin-top: 0;
}


.post-header {
    margin-bottom: 3rem;
}

.post-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1daa9e;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}
.post-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.meta-item {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(79,70,229,0.05) 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    animation: fadeIn 0.5s ease-out forwards;
    animation-delay: calc(var(--i) * 0.1s);
    opacity: 0;
}

.meta-item:hover,
.related-majors:hover {
    background: linear-gradient(135deg, rgba(99,102,241,0.2) 0%, rgba(79,70,229,0.1) 100%);
    transform: translateY(-5px);
}

.meta-item::after,
.related-majors::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.meta-item:hover::after,
.related-majors:hover::after  {
    transform: scaleX(1);
}

.meta-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--meta-color);
    text-transform: uppercase;
 
    margin-bottom: 0.5rem;
}
.meta-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.post-tags {
    display: flex;
    flex-wrap: wrap-reverse;
    gap: .7rem;
    margin-bottom: 3rem;
    width: 100%;
}

.tag {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    color: #fff;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease-out forwards;
    animation-delay: calc(var(--i) * 0.1s);
    opacity: 0;
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transition: var(--transition);
}

.tag:hover::before {
    transform: scale(1.1);
}

.tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.degree-tag::before {
    background: linear-gradient(45deg, #009688, #4ECDC4);
}
.institute-tag::before {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
}
            .majors-accordion {
                border: 1px solid #ddd;
                border-radius: 4px;
                overflow: hidden;
            }
            .accordion-item {
                border-bottom: 1px solid #ddd;
            }
            .accordion-item:last-child {
                border-bottom: none;
            }
            .accordion-header {
                background-color: #f5f5f5;
                padding: 15px;
                cursor: pointer;
                font-weight: bold;
            }
            .accordion-header:hover {
                background-color: #e5e5e5;
            }
            .accordion-content {
                display: none;
                padding: 15px;
                background-color: #fff;
            }
            .accordion-content .read-more {
                display: inline-block;
                margin-top: 10px;
                background-color: #14a498;
                color: #fff!important;
                font-size: 0.875rem;
                font-weight: 600;
                padding: 0.75rem 1.5rem;
                border-radius: 0;
                transition: var(--transition);
                position: relative;
                overflow: hidden;
                animation: fadeIn 0.5s ease-out forwards;
                animation-delay: calc(var(--i)* 0.1s);
                opacity: 0;
            }
            .accordion-content .read-more:hover {
                background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
            }
.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2, .post-content h3 {
    color: #08736a;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.post-content h2 {
    font-size: 2.05rem;
}
.post-content h3 {
    font-size: 1.375rem;
}

.related-majors a {
    text-decoration: none;
    color: green;
    line-height: 2.4;
    border-bottom: .4px dashed #00800033;
    padding-bottom: .7rem;
}

.related-majors a:hover {
    border-bottom: .4px dashed #008000de;
    padding-bottom: .7rem;
    transition: .4s;
    color:  #2b9af1;
}
.call-to-action {
    margin-top: 2rem;
    display: flex;
    align-items: center;
}
.call-to-action a {
    background: linear-gradient(90deg, #07af52, #009688);
 
    padding: 15px;
    color: #fff;
    text-decoration: none;


}
 
.call-to-action a:hover {
    background: linear-gradient(135deg, #009688 0%, rgb(0 87 51) 100%);
    transform: translateY(-5px);
}

.call-to-action a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
 .link-to-none a {
    text-decoration: none;
    color: #029c7c;
}
.call-to-action a:hover::after {
    transform: scaleX(1);
}

.call-to-action .login-form-class {
    width: 100%;
    padding: 28px;
    color: #fff;
    background-color: #00968824;
    color: var(--text-color);
    line-height: 1.75;
}
.call-to-action .login-form-class p,
.call-to-action .login-form-class label {
    font-size: 13px;
}
 .call-to-action .login-form-class label {
 
    font-weight: 800;
}
.resend-code-section {
    text-align: left;
    font-size: 11px;
    margin-top: 2rem;
}
button#resend-code-btn {
    border: 0;
    font-size: 12px;
    background: none;
    color: #00675e;
}

a.btn-a.login-btn {
    width: 100%;
    display: block;
    text-align: center;
    background: linear-gradient(90deg, #07af52, #009688);
    padding: 15px;
    color: #fff;
    text-decoration: none;
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hybrid-modern-post {
        padding: 1.4rem;
        margin: 2rem 1rem;
    }

    .post-title {
        font-size: 2.5rem;
    }

    .meta-value {
        font-size: 1.25rem;
    }
.inst-call {
 
    margin: 15px 0  ;
}
}

@media (prefers-reduced-motion: reduce) {
    .meta-item, .tag {
        animation: none;
        opacity: 1;
    }
}

/*Sinlge Grants */

.last-updated 
 {
    float: left;
    font-size: 12px;
    color: #978f8f;
}
.inst-call {
    text-align: left;
    font-size: 12px;
    color: #575555;
    text-decoration: none;
 }
.inst-call a {
    font-size: 12px;
    color: #575555;
    text-decoration: none;
    border-bottom: .4px dashed;
    margin: 0 15px;
    padding-bottom: 1rem;
}
/*Sinlge Majors */
.major-header h1{
    margin-top: 8px;
}
span.major_english_name {
    background-color: #e9ecef;
    color: #495057;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}





/* Archive */

.archive-page-header {
    margin-bottom: 5rem;
}
span.card-related-majors {
    background: #009688;
    color: rgb(255 255 255);
    text-shadow: rgba(0, 0, 0, 0.3) 0px 1px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}


/*Archive Scholarships */
.scholarship-filter {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.scholarship-filter select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 16px;
    flex-grow: 1;
    min-width: 200px;
}

.scholarship-filter button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.scholarship-filter button:hover {
    background-color: #0056b3;
}

/* Styles for the Load More button */
.load-more-container {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

#load-more {
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

#load-more:hover {
    background-color: #218838;
}

#load-more:active {
    transform: scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scholarship-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .scholarship-filter select,
    .scholarship-filter button {
        width: 100%;
    }
}

/* Existing styles for skeleton loading */
.skeleton {
    background: #f0f0f0;
    height: 200px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    animation: loading 1s infinite;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* Archive  Majors */
/* Styles for the filter form */
.major-filter {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.major-filter select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 16px;
    flex-grow: 1;
    min-width: 200px;
}

.major-filter button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.major-filter button:hover {
    background-color: #0056b3;
}

/* Styles for the Load More button */
.load-more-container {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

#load-more {
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

#load-more:hover {
    background-color: #218838;
}

#load-more:active {
    transform: scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .major-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .major-filter select,
    .major-filter button {
        width: 100%;
    }
}

/* Existing styles for skeleton loading */
.skeleton {
    background: #f0f0f0;
    height: 200px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    animation: loading 1s infinite;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}
/* Archive  Institutes */
/* Styles for the filter form */
.institution-filter {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.institution-filter select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 16px;
    flex-grow: 1;
    min-width: 200px;
}

.institution-filter button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.institution-filter button:hover {
    background-color: #0056b3;
}

/* Styles for the Load More button */
.load-more-container {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

#load-more {
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

#load-more:hover {
    background-color: #218838;
}

#load-more:active {
    transform: scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .institution-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .institution-filter select,
    .institution-filter button {
        width: 100%;
    }
}

/* Existing styles for skeleton loading */
.skeleton {
    background: #f0f0f0;
    height: 200px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    animation: loading 1s infinite;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}
/* Search page */
.site-search-main {
    padding: 2rem 0;
}

.site-search-main .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.site-search-main .page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.site-search-main .page-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
}

.site-search-main .search-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.site-search-main .search-item:hover {
    transform: translateY(-5px);
}

.site-search-main .entry-title {
    margin-top: 0;
    margin-bottom: 1rem;
}

.site-search-main .entry-title a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.site-search-main .entry-summary {
    margin-bottom: 1rem;
}

.site-search-main .read-more {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.site-search-main .read-more:hover {
    background-color: var(--secondary-color);
}

.site-search-main .no-results {
    text-align: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* Responsive styles */
@media (max-width: 768px) {
    .site-search-main .page-title {
        font-size: 1.5rem;
    }

    .site-search-main .entry-title a {
        font-size: 1.2rem;
    }
}
/* Footer */

        .footer {
            background-color: var(--background-color);
            color: var(--text-color);
            padding: 4rem 0 2rem;
            position: relative;
            overflow: hidden;
        }

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #009688, #4ECDC4);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 2rem;
}
        .footer-section {
            flex: 1;
            min-width: 250px;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            color: #04998b;
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            position: relative;
        }

.footer-section h3::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}
        .footer-section ul {
            list-style-type: none;
            padding: 0;
        }

        .footer-section ul li {
            margin-bottom: 0.75rem;
        }

        .footer-section ul li a {
            color: var(--text-color);
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .footer-section ul li a:hover {
            color: var(--hover-color);
            transform: translateX(5px);
        }

        .social-icons {
            display: flex;
            justify-content: flex-start;
            margin-top: 1.5rem;
        }

        .social-icons a {
            color: var(--text-color);
            font-size: 1.5rem;
            margin-right: 1rem;
            transition: all 0.3s ease;
        }

        .social-icons a:hover {
            color: var(--hover-color);
            transform: translateY(-3px);
        }

        .newsletter-form {
            display: flex;
            margin-top: 1rem;
        }

        .newsletter-form input {
            flex-grow: 1;
            padding: 0.5rem;
            border: none;
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--text-color);
            border-radius: 4px 0 0 4px;
        }

        .newsletter-form button {
            padding: 0.5rem 1rem;
            border: none;
            background-color: var(--accent-color);
            color: var(--background-color);
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease;
            border-radius: 0 4px 4px 0;
        }

        .newsletter-form button:hover {
            background-color: var(--hover-color);
        }

        .copyright {
            text-align: center;
            margin-top: 3rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            opacity: 0.8;
        }

        @media (max-width: 768px) {
            .footer-content {
                flex-direction: column;
            }
            .footer-section {
                margin-bottom: 2rem;
            }
        }









/* Members */
.member-account-page .container {
    margin: 0 auto;
    padding: 20px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
}
 .member-account-page textarea,  .member-account-page input,  .member-account-page select {
    width: 100%;
    display: block;
    outline: none;
    border: .4px solid #000;
    background: #fff;
    padding: 15px;
    margin: .7rem 0;
}
 
 

.member-account-page main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
    padding-top: 0;
    width: 100%;
}

 .member-account-page .card {
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    min-height: 33vh;
    padding-bottom: 3rem;
    margin-bottom: 1rem;
}

 .member-account-page .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        }

 .member-account-page .card h2 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-weight: 600;
        }

 .member-account-page .card p {
            margin-bottom: 0.75rem;
        }

 .member-account-page .btn {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            text-decoration: none;
            transition: all 0.3s ease;
            font-weight: 500;
            border: none;
            cursor: pointer;
            position: absolute;
            bottom: 10px;
            left: 15px;
            font-size: 13px;
            margin-top: 2rem;
        }

 .member-account-page .btn:hover {
            background-color: var(--secondary-color);
            transform: translateY(-2px);
        }

 .member-account-page .profile-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 1rem;
        }

 .member-account-page .stats {
            display: flex;
            justify-content: space-around;
            margin-top: 1.5rem;
        }

 .member-account-page .stat-item {
            text-align: center;
        }

 .member-account-page .stat-value {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--accent-color);
        }

 .member-account-page .stat-label {
            font-size: 0.875rem;
            color: var(--text-color);
        }

 .member-account-page .progress-bar {
            width: 100%;
            height: 0.5rem;
            background-color: #E5E7EB;
            border-radius: 0.25rem;
            overflow: hidden;
            margin-bottom: 1rem;
        }

 .member-account-page .progress {
            height: 100%;
            background-color: var(--accent-color);
            width: 75%;
        }

 .member-account-page .menu-icon {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }

 .member-account-page .popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }

 .member-account-page .popup {
            background-color: #fff;
            padding: 2rem;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            max-width: 500px;
            width: 90%;
            height: 100%;
            overflow: scroll;
        }

 .member-account-page .popup h2 {
            margin-bottom: 1.5rem;
        }

 .member-account-page .form-group {
            margin-bottom: 1rem;
        }

 .member-account-page .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

 .member-account-page .form-group input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #D1D5DB;
            border-radius: 0.5rem;
            font-size: 1rem;
        }

 .member-account-page .popup-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
            margin-top: 1.5rem;
        }
.nav-top-links {
    background: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3436;
}
.nav-top-links a {
    text-decoration: none;
    color: grey;
    margin: 0 15px;
}






.not-login-form {
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
    padding: 28px;
    background-color: #00968824;
    color: var(--text-color);
    line-height: 1.75;
    margin-top: 3rem;
    margin-bottom: 3rem;
}
/* Dark theme */


 .dark-theme,
  .dark-theme .card-container,

.dark-theme .hybrid-modern-post,
.dark-theme .footer {
 
    background-color:var(--bg-color);
    color: #fff;
}
 .dark-theme  .meta-item {
    background: #3d3b3b;
    color: #fff!important;
 
}
 .dark-theme  .meta-value,
 .dark-theme .related-majors a,
 .dark-theme  .post-content a,
 .dark-theme  .hybrid-modern-post a {
 
    color: #ffffff;
}
 .dark-theme  .section-cards{
    background-color: var(--bg-color);
}
 
 .dark-theme  .section-cards .card {
    background: #0000007d;
 
}
 .dark-theme .institutions-table tbody tr {
    background-color: #232323;
     color: #fff;
}
 .dark-theme  .institutions-table td {
 
    color: #fff;
 
}

 .dark-theme  .institution-name a {
  
    color: #fff;
}
 .dark-theme .member-account-page .card {
    background-color: #1e272e;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    min-height: 33vh;
    padding-bottom: 3rem;
    margin-bottom: 1rem;
}
 .dark-theme .user-notify-table th,  .dark-theme .user-notify-table td,  .dark-theme  .accordion-header, .dark-theme  .accordion-content {
    color: #000;
}

 