/* GENERAL */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Jost", sans-serif;
}

:root {
    --main-color: #f15b43;
    --sec-color: #65c9bb;
    --light-text: #777777;
    --dark-color: #263b5c;
    --black-color: #000000;
    --white-color: #ffffff;
    --bg-section: #faeded;
    --dark-gray: #4c4c4c;
    --btn-color: #dddddd;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--sec-color);
    outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--main-color);
    color: var(--white-color);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--border-radius);
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}
/* Button Styles */
.btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

/* Enhanced Button Responsiveness */
@media (max-width: 768px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
/* Header */
.header {
    position: relative;
    background-image: url("../assets/imgs/h1_hero1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    background-color: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background-color: rgba(38, 59, 92, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
}

.navbar-nav .nav-item {
    padding: 10px 15px;
    font-size: 1rem;
}

.navbar-nav li a {
    color: var(--white-color) !important;
    transition: all var(--transition-normal);
    position: relative;
}

.navbar-nav li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--sec-color);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.navbar-nav li a:hover::after,
.navbar-nav li a.active::after {
    width: 100%;
}

.navbar-nav li a:hover {
    color: var(--sec-color) !important;
    transform: translateY(-2px);
}

.nav-btn {
    background-color: var(--main-color);
    color: var(--white-color);
    border: 2px solid var(--main-color);
    transition: all var(--transition-normal);
}

.nav-btn:hover {
    background-color: transparent;
    border-color: var(--white-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.navbar-toggler {
    background-color: var(--main-color);
    border: none;
    border-radius: var(--border-radius);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(241, 91, 67, 0.25);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-content h1,
.hero-content p {
    color: var(--white-color);
    padding: 5px 0;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.7rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btn {
    background-color: var(--sec-color);
    color: var(--white-color);
    border: 2px solid var(--sec-color);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.hero-btn:hover {
    background-color: transparent;
    border-color: var(--white-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Responsive Design */

/* Extra Large devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .program-content h2 {
        font-size: 3rem;
    }
}

/* Large devices (1200px and up) */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .program-content h2 {
        font-size: 2.2rem;
    }
    
    .card-title {
        font-size: 1.4rem;
    }
}

/* Medium devices (992px and up) */
@media (max-width: 992px) {
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .navbar-nav {
        background-color: rgba(38, 59, 92, 0.95);
        padding: 20px;
        border-radius: var(--border-radius);
        margin-top: 10px;
        backdrop-filter: blur(10px);
    }
    
    .program-section,
    .about-section,
    .test,
    .helping-section,
    .sec-bg,
    .blog {
        padding: 60px 0;
    }
    
    .section-btns .btn {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .help-section .title h2 {
        font-size: 2.5rem;
    }
    
    .footer {
        padding: 50px 0 20px;
    }
}

/* Small devices (768px and up) */
@media (max-width: 768px) {
    .header {
        min-height: 80vh;
    }
    
    .hero {
        padding: 80px 0 30px;
        text-align: center;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-btn {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .program-section,
    .about-section,
    .test,
    .helping-section,
    .sec-bg,
    .blog {
        padding: 40px 0;
    }
    
    .program-content h2 {
        font-size: 1.8rem;
    }
    
    .program-content p {
        font-size: 1rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
    
    .card-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .help-section .title h2 {
        font-size: 2rem;
    }
    
    .help-section img {
        width: 60px;
        height: 60px;
    }
    
    .blog button {
        width: 3rem;
        height: 3rem;
        padding: 10px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer h4 {
        font-size: 1.2rem;
    }
    
    .footer a {
        font-size: 0.9rem;
    }
    
    .fa-brands {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .navbar-brand img {
        max-height: 40px;
    }
    
    .nav-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Extra small devices (576px and up) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .hero-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .program-content h2 {
        font-size: 1.6rem;
    }
    
    .program-content p {
        font-size: 0.9rem;
    }
    
    .span-title {
        font-size: 1rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .card-text {
        font-size: 0.85rem;
    }
    
    .help-section .title h2 {
        font-size: 1.8rem;
    }
    
    .help-section h4 {
        font-size: 1.3rem;
    }
    
    .help-section p {
        font-size: 0.9rem;
    }
    
    .blog h2 {
        font-size: 1.8rem;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer h4 {
        font-size: 1.1rem;
    }
    
    .footer a {
        font-size: 0.85rem;
    }
    
    .copyright p {
        font-size: 0.8rem;
    }
    
    .navbar-toggler {
        padding: 4px 8px;
    }
    
    .navbar-nav .nav-item {
        padding: 8px 0;
    }
    
    .navbar-nav li a {
        font-size: 0.9rem;
    }
}

/* Extra extra small devices (480px and down) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
    
    .program-content h2 {
        font-size: 1.4rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .help-section .title h2 {
        font-size: 1.6rem;
    }
    
    .help-section h4 {
        font-size: 1.2rem;
    }
    
    .blog h2 {
        font-size: 1.6rem;
    }
    
    .footer {
        padding: 25px 0 10px;
    }
    
    .section-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-btns .btn {
        width: 100%;
        margin: 0;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .header {
        min-height: 100vh;
    }
    
    .hero {
        padding: 60px 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-content h1 {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .hero-btn,
    .nav-btn {
        display: none !important;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .hero-content h1 {
        color: #000 !important;
        font-size: 2rem;
    }
    
    .hero-content p {
        color: #333 !important;
    }
    
    .program-section,
    .about-section,
    .test,
    .helping-section,
    .sec-bg,
    .blog {
        padding: 20px 0;
        background: #fff !important;
    }
    
    .sec-bg {
        background: #fff !important;
        color: #000 !important;
    }
    
    .sec-bg::before {
        display: none;
    }
}
  
/* FIRST SECTION */
.program-section {
    background-color: var(--bg-section);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.program-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(250, 237, 237, 0.8), rgba(101, 201, 187, 0.1));
    z-index: 1;
}

.program-section .container {
    position: relative;
    z-index: 2;
}

.span-title {
    color: var(--sec-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
    animation: fadeInLeft 0.8s ease-out;
}

.program-content h2 {
    color: var(--dark-color);
    font-size: clamp(2rem, 4vw, 2.5rem);
    padding: 15px 0;
    line-height: 1.3;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.program-content p {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.sec-img {
    animation: fadeInRight 0.8s ease-out 0.6s both;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.sec-img img {
    transition: transform var(--transition-slow);
}

.sec-img:hover img {
    transform: scale(1.05);
}

.section-btns {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.dark-btn {
    background-color: var(--main-color);
    border: 2px solid var(--main-color);
    color: var(--white-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 30px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.dark-btn:hover {
    background-color: transparent;
    color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.light-btn {
    border: 2px solid var(--main-color);
    background-color: transparent;
    color: var(--main-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 30px;
    transition: all var(--transition-normal);
}

.light-btn:hover {
    color: var(--white-color);
    background-color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Responsive adjustments for first section */
@media (max-width: 992px) {
    .program-section {
        padding: 60px 0;
    }
    
    .program-content h2 {
        font-size: 2rem;
    }
    
    .section-btns {
        margin-top: 2rem;
    }
    
    .section-btns .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .program-section {
        padding: 40px 0;
    }
    
    .program-content h2 {
        font-size: 1.8rem;
    }
    
    .program-content p {
        font-size: 1rem;
    }
}
/* SECTION 2 - About Section */
.about-section {
    padding: 80px 0;
}

.about-section .program-content {
    animation: fadeInLeft 0.8s ease-out;
}

.about-section img {
    animation: fadeInRight 0.8s ease-out;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    transition: transform var(--transition-slow);
}

.about-section img:hover {
    transform: scale(1.02);
}

/* SECTION 3 - Cards */
.test {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
    overflow: hidden;
    height: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.card-body,
.card-footer {
    background-color: #f8f9fa;
    border: none;
    padding: 1.5rem;
}

.card-title {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark-color);
    transition: all var(--transition-normal);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.text-money {
    text-align: center;
}

.text-money span {
    color: var(--sec-color);
    font-weight: bold;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.25rem;
}

.text-money p {
    color: var(--dark-color);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.card-btn {
    background-color: var(--main-color);
    border: 2px solid var(--main-color);
    color: var(--white-color);
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 20px;
    transition: all var(--transition-normal);
    border-radius: var(--border-radius);
}

.card:hover .card-btn {
    background-color: transparent;
    color: var(--main-color);
    transform: scale(1.05);
}

.card:hover .card-title {
    color: var(--main-color);
}

/* Card animations */
.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Responsive card adjustments */
@media (max-width: 992px) {
    .test {
        padding: 60px 0;
    }
    
    .card-img-top {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .test {
        padding: 40px 0;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
    
    .card-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}
  
/* SECTION 4 - Helping Section */
.helping-section {
    padding: 80px 0;
}

.helping-section .program-content {
    animation: fadeInRight 0.8s ease-out;
}

.helping-section img {
    animation: fadeInLeft 0.8s ease-out;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    transition: transform var(--transition-slow);
}

.helping-section img:hover {
    transform: scale(1.02);
}

/* SECTION 5 - Services Section */
.sec-bg {
    background-color: #f15b43;
    background-image: url("../assets/imgs/section-bg1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: var(--white-color);
    padding: 80px 0;
    position: relative;
}

.sec-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(241, 91, 67, 0.9);
    z-index: 1;
}

.help-section {
    position: relative;
    z-index: 2;
}

.help-section .title {
    animation: fadeInUp 0.8s ease-out;
}

.help-section .title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
}

.help-section .col-md-4 {
    animation: fadeInUp 0.8s ease-out;
    transition: transform var(--transition-normal);
}

.help-section .col-md-4:hover {
    transform: translateY(-5px);
}

.help-section .col-md-4:nth-child(1) {
    animation-delay: 0.1s;
}

.help-section .col-md-4:nth-child(2) {
    animation-delay: 0.2s;
}

.help-section .col-md-4:nth-child(3) {
    animation-delay: 0.3s;
}

.help-section img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    transition: transform var(--transition-normal);
}

.help-section .col-md-4:hover img {
    transform: scale(1.1);
}

.help-section h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.help-section p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* SECTION 6 - Blog Section */
.blog {
    padding: 80px 0;
}

.blog h2 {
    color: var(--dark-color);
    font-size: clamp(2rem, 4vw, 2.5rem);
    padding: 15px 0;
    animation: fadeInLeft 0.8s ease-out;
}

.blog .span-title {
    animation: fadeInLeft 0.8s ease-out 0.2s both;
}

.arrow-btns {
    animation: fadeInLeft 0.8s ease-out 0.4s both;
}

.blog button {
    padding: 15px;
    background-color: transparent;
    width: 3.5rem;
    height: 3.5rem;
    color: var(--btn-color);
    border: 2px solid var(--btn-color);
    border-radius: 50%;
    transition: all var(--transition-normal);
    margin: 0 5px;
    cursor: pointer;
}

.blog button:hover {
    background-color: var(--main-color);
    color: var(--white-color);
    border-color: var(--main-color);
    transform: scale(1.1);
}

.blog .card {
    animation: fadeInUp 0.8s ease-out;
    transition: all var(--transition-normal);
}

.blog .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog .card:nth-child(1) {
    animation-delay: 0.1s;
}

.blog .card:nth-child(2) {
    animation-delay: 0.2s;
}

.blog .card:nth-child(3) {
    animation-delay: 0.3s;
}

.read-more-btn {
    font-size: 1.1rem;
    color: var(--main-color);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
}

.read-more-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--main-color);
    transition: width var(--transition-normal);
}

.read-more-btn:hover::after {
    width: 100%;
}

.read-more-btn:hover {
    color: var(--sec-color);
    transform: translateX(5px);
}

/* SECTION 7 - Map */
.ratio {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 20px;
}

.footer h4 {
    color: var(--white-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-ico {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.fa-brands {
    border: 2px solid transparent;
    padding: 12px;
    margin-bottom: 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 50%;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.fa-brands:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.fa-facebook {
    background-color: rgb(62, 71, 190);
}

.fa-facebook:hover {
    background-color: rgb(52, 61, 180);
}

.fa-linkedin-in {
    background-color: rgb(60, 158, 223);
}

.fa-linkedin-in:hover {
    background-color: rgb(50, 148, 213);
}

.fa-instagram {
    background-color: rgb(56, 112, 150);
}

.fa-instagram:hover {
    background-color: rgb(46, 102, 140);
}

.fa-youtube {
    background-color: rgb(214, 35, 35);
}

.fa-youtube:hover {
    background-color: rgb(204, 25, 25);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 8px 0;
    font-size: 1rem;
    transition: all var(--transition-normal);
    display: block;
}

.footer a:hover {
    color: var(--sec-color);
    text-decoration: none;
    transform: translateX(5px);
}

.copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer h4 {
        font-size: 1.2rem;
    }
    
    .footer a {
        font-size: 0.9rem;
    }
    
    .fa-brands {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Additional responsive adjustments */
@media (max-width: 992px) {
    .sec-bg {
        background-attachment: scroll;
        padding: 60px 0;
    }
    
    .help-section .title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .sec-bg {
        padding: 40px 0;
    }
    
    .help-section .title h2 {
        font-size: 2rem;
    }
    
    .help-section img {
        width: 60px;
        height: 60px;
    }
    
    .blog {
        padding: 60px 0;
    }
    
    .blog button {
        width: 3rem;
        height: 3rem;
        padding: 10px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        padding: 15px 20px;
    }
    
    .fa-brands {
        min-width: 44px;
        min-height: 44px;
    }
    
    .card {
        margin-bottom: 20px;
    }
    
    .card:hover {
        transform: none;
    }
    
    .card:active {
        transform: scale(0.98);
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-content {
        animation: none;
    }
    
    .card,
    .program-content,
    .sec-img,
    .help-section .col-md-4 {
        animation: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-text: #cccccc;
        --dark-color: #ffffff;
        --white-color: #000000;
        --bg-section: #1a1a1a;
    }
    
    .card-body,
    .card-footer {
        background-color: #2a2a2a;
        color: #ffffff;
    }
    
    .footer {
        background-color: #000000;
    }
}

/* Container max-widths for better content flow */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Flexbox improvements for better responsive behavior */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
    
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-md-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
    
    .col-md-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
}

/* Image responsiveness */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Text overflow handling */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Responsive typography scale */
@media (max-width: 320px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 321px) and (max-width: 480px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 769px) {
    html {
        font-size: 16px;
    }
}

