/*
Theme Name: InSET Theme
Theme URI: https://inset.al
Author: MAYZ Design (enhanced for full responsiveness and manually scaled to ~90% by Grok)
Description: Full custom theme for InSET with complete responsive support, multilingual readiness, all sizes manually adjusted to approximately 90% of original for a compact layout, and full dark/light mode support via .dark-mode class on body.
Version: 1.5
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ==================== GLOBAL RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f9fa;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* ==================== DARK MODE ==================== */
/* ==================== LIGHTER DARK MODE ==================== */
body.dark-mode {
    background-color: #12181f;  /* Softer deep charcoal instead of pure black */
    color: #e0e6ed;             /* Light gray text - high readability */
}

/* Core section backgrounds - unified */
body.dark-mode .wrapper,
body.dark-mode .hero,
body.dark-mode .contact-section,
body.dark-mode .news-content,
body.dark-mode .project-content,
body.dark-mode .gallery-section,
body.dark-mode .partners-section,
body.dark-mode .about-alt,
body.dark-mode .news-section,
body.dark-mode .projects-section,
body.dark-mode .about-section,
body.dark-mode .services-section,
body.dark-mode .hero-full,
body.dark-mode .project-hero,
body.dark-mode .news-hero,
body.dark-mode .ramp-hero-section,
body.dark-mode .ramp-articles-section {
    background-color: #12181f;
}

/* Hero overlays - slightly lighter tint */
body.dark-mode .hero-full::before,
body.dark-mode .project-hero::before,
body.dark-mode .news-hero::before {
    background: linear-gradient(to bottom, rgba(18,24,31,0.65) 0%, rgba(18,24,31,0.95) 100%);
}

/* Cards & containers - softer dark with subtle borders */
body.dark-mode .contact-card,
body.dark-mode .news-card,
body.dark-mode .project-card,
body.dark-mode .featured-body,
body.dark-mode .feature-card,
body.dark-mode .board-card,
body.dark-mode .partner-card,
body.dark-mode .mission-block,
body.dark-mode .service-card,
body.dark-mode .featured-card,
body.dark-mode .small-image-card,
body.dark-mode .ramp-image-card {
    background: #1e252f;           /* Lighter card background */
    border: 1px solid #2d3743;      /* Subtle border for definition */
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

/* Text hierarchy - clean and bright */
body.dark-mode .news-text,
body.dark-mode .project-text,
body.dark-mode .news-desc,
body.dark-mode .news-title,
body.dark-mode .project-title,
body.dark-mode .section-header h1,
body.dark-mode .section-header h2,
body.dark-mode .about-us-title h2,
body.dark-mode .gallery-title,
body.dark-mode .partners-header h1,
body.dark-mode .services-title,
body.dark-mode .about-text p,
body.dark-mode .mission-block,
body.dark-mode .featured-body h2,
body.dark-mode .project-card-body h5,
body.dark-mode .service-card h5,
body.dark-mode .board-card h5,
body.dark-mode .about-text h1,
body.dark-mode .news-text h1,
body.dark-mode .articles-title,
body.dark-mode .hero-page-title,
body.dark-mode .article-title,
body.dark-mode .article-card-title,
body.dark-mode .ramp-excerpt,
body.dark-mode .ramp-meta,
body.dark-mode .article-excerpt,
body.dark-mode .article-tag {
    color: #e0e6ed !important;
}

/* Secondary text (meta, dates, etc.) */
body.dark-mode .ramp-meta,
body.dark-mode .article-tag {
    color: #a0a8b3;
}

/* Keep green dates vibrant */
body.dark-mode .news-date,
body.dark-mode .project-date,
body.dark-mode .ramp-date {
    color: #0ccb69 !important;
}

/* Forms */
body.dark-mode .form-control {
    border-bottom-color: #2d3743;
    color: #e0e6ed;
    background: transparent;
}
body.dark-mode .form-control::placeholder {
    color: #7a828e;
}

/* Partners - less aggressive grayscale */
body.dark-mode .partner-card {
    background: #1e252f;
}
body.dark-mode .partner-card img {
    filter: grayscale(70%) brightness(1.4);
    opacity: 0.9;
}
body.dark-mode .partner-card:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* Service cards - refined glassmorphism */
body.dark-mode .service-card {
    background: rgba(30, 37, 47, 0.65);
    backdrop-filter: blur(14px);
    border: 1px solid #2d3743;
}

/* Services section overlay - slightly lighter */
body.dark-mode .services-section {
    background: linear-gradient(rgba(18,24,31,0.92), rgba(18,24,31,0.98)),
                url('https://inset.al/images/TrueBlueProject-90764.jpeg') center / cover no-repeat !important;
}

/* Pagination & buttons - keep green accent strong */
body.dark-mode .pagination-arrow,
body.dark-mode .pag-arrow,
body.dark-mode .pag-number {
    background: #1e252f;
    color: #e0e6ed;
}
body.dark-mode .pagination-arrow:hover:not(.disabled),
body.dark-mode .pag-arrow:hover:not(.disabled),
body.dark-mode .pag-number:hover,
body.dark-mode .pag-number.active {
    background: #0ccb69;
    color: #000;
}

/* Quote accent */
body.dark-mode .mission-block::before {
    color: #0ccb69;
    opacity: 0.35;
}
/* Dates stay green */
body.dark-mode .news-date,
body.dark-mode .project-date,
body.dark-mode .ramp-date {
    color: #0ccb69 !important;
}

/* Forms */
body.dark-mode .form-control {
    border-bottom-color: #30363d;
    color: #c9d1d9;
    background: transparent;
}
body.dark-mode .form-control::placeholder {
    color: #8b949e;
}

/* Mobile menu */
body.dark-mode .mobile-menu {
    background: #0d1117;
}
body.dark-mode .mobile-nav a,
body.dark-mode .mobile-lang a {
    color: #c9d1d9;
}
body.dark-mode .mobile-lang .separator {
    color: #666;
}
body.dark-mode .mobile-nav a.active,
body.dark-mode .mobile-lang a.active {
    color: white;
}

/* Pagination */
body.dark-mode .pagination-arrow,
body.dark-mode .pag-arrow {
    background: #0ccb69;
    color: #000;
}
body.dark-mode .pagination-arrow:hover:not(.disabled),
body.dark-mode .pag-arrow:hover:not(.disabled) {
    background: #238636;
    color: white;
}
body.dark-mode .pagination-arrow.disabled,
body.dark-mode .pag-arrow.disabled {
    background: #30363d;
    color: #484f58;
}

/* Buttons */
body.dark-mode .btn-send,
body.dark-mode .read-more-btn,
body.dark-mode .back-btn,
body.dark-mode .service-btn {
    background: #0ccb69;
    color: #000;
}
body.dark-mode .btn-send:hover,
body.dark-mode .read-more-btn:hover,
body.dark-mode .back-btn:hover,
body.dark-mode .service-btn:hover {
    background: #238636;
    color: white;
}
body.dark-mode .read-more-btn,
body.dark-mode .service-btn {
    background: transparent;
    border: 1.8px solid #0ccb69;
    color: #0ccb69;
}
body.dark-mode .read-more-btn:hover,
body.dark-mode .service-btn:hover {
    background: #0ccb69;
    color: #000;
}

/* Services section overlay */
body.dark-mode .services-section {
    background: linear-gradient(rgba(13,17,23,0.92), rgba(13,17,23,0.98)), url('https://inset.al/assets/images/TrueBlueProject-90764.jpeg') center/cover no-repeat;
}

/* Accents */
body.dark-mode .section-underline,
body.dark-mode .services-underline,
body.dark-mode .about-text .underline {
    background-color: #0ccb69;
}

/* Partners */
body.dark-mode .partner-card {
    background: #161b22;
}
body.dark-mode .partner-card img {
    filter: grayscale(80%) brightness(1.3);
    opacity: 0.85;
}
body.dark-mode .partner-card:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* Mission quote */
body.dark-mode .mission-block::before {
    color: #0ccb69;
    opacity: 0.4;
}

/* Service cards glassmorphism */
body.dark-mode .service-card {
    background: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid #30363d;
}

/* Hero slider adjustments */
body.dark-mode .hero {
    background: #0d1117;
}
body.dark-mode .hero .swiper.mySwiper3 {
    box-shadow: 0 9px 27px rgba(0,0,0,0.5);
}
body.dark-mode .hero-navigation {
    background: #0ccb6988;
}
body.dark-mode .hero-navigation:hover {
    background: #0ccb69;
}

/* ==================== UNIFIED SECTION TITLES ==================== */
.section-header {
    text-align: center;
    margin-bottom: 54px;
    padding-top: 54px;
}
.section-header h1,
.section-header h2,
.services-title,
.partners-header h1,
.articles-title,
.gallery-title,
.about-text h1,
.text-start h1,
.hero-page-title {
    font-size: 2.7rem;
    font-weight: 800;
    color: #001f3f;
    margin: 0 0 18px 0;
    line-height: 1.2;
}
.dark-mode .section-header h1,
.dark-mode .section-header h2,
.dark-mode .services-title,
.dark-mode .partners-header h1,
.dark-mode .articles-title,
.dark-mode .gallery-title,
.dark-mode .text-start h1{
    color: #e6edf3 !important;
}

/* Green underline - centered by default */
.section-underline,
.services-underline {
    width: 90px;
    height: 4.5px;
    background-color: #0ccb69;
    margin: 0 auto 54px auto;
    border-radius: 3.6px;
}

/* Left-aligned titles (About & News on homepage) */
.section-header.text-start h1,
.section-header.text-start h2 {
    text-align: left;
}
.section-header.text-start .section-underline {
    margin: 18px 0 54px 0; /* No auto centering - left-aligned */
}

/* About section specific underline (old class - kept for compatibility) */
.about-text .underline {
    width: 80px;
    height: 6px;
    background-color: #00ff7b;
    margin-top: 10px !important;
    align-items: left;
}

/* ==================== SHARED LAYOUT (90% scaled) ==================== */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container {
    max-width: 1080px;
    padding: 0 13.5px;
    margin: 0 auto;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.logo img {
    height: 58.5px;
    width: auto;
    display: block;
}

/* ==================== HOME HERO SLIDER ==================== */
.hero {
    background: #fff;
    margin-top: 72px;
    padding-top: 40px;
}
.hero .swiper.mySwiper3 {
    max-width: 70%;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 9px 27px rgba(0,0,0,0.2);
    position: relative;
}
.img-cropped {
    height: 468px;
    width: 100%;
    object-fit: cover;
}
.hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    z-index: 10;
    padding: 18px;
}
.hero-title h1 {
    font-size: clamp(1.62rem, 3.6vw, 2.52rem);
    font-weight: 700;
    color: white;
    text-shadow: 2.7px 2.7px 7.2px rgba(0,0,0,0.8);
    line-height: 1.3;
}
.hero-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50.4px;
    height: 50.4px;
    background: #00ff7b70;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25.2px;
    z-index: 20;
    cursor: pointer;
    transition: all 0.3s;
}
.hero-navigation:hover {
    background: #00ff7b;
    transform: translateY(-50%) scale(1.1);
}
.hero-prev { left: 18px; }
.hero-next { right: 18px; }

/* ==================== HERO FULL (Inner pages) ==================== */
.hero-full {
    position: relative;
    height: 63dvh;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
@supports not (height: 100dvh) {
    .hero-full,
    .project-hero,
    .news-hero {
        height: 63vh;
    }
}
.hero-full::before,
.project-hero::before,
.news-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,31,63,0.3) 0%, rgba(0,31,63,0.8) 100%);
}
.hero-full-content,
.project-hero-title,
.news-hero-title {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 18px;
}
.hero-full h1{
    font-size: clamp(1.98rem, 5.4vw, 4.05rem);
    font-weight: 900;
    text-shadow: 3.6px 3.6px 18px rgba(0,0,0,0.8);
    margin-bottom: 22.5px;
}

.project-hero-title h1,
.news-hero-title h1 {
    font-size: 2.5rem;
    font-weight: 900;
    text-shadow: 3.6px 3.6px 18px rgba(0,0,0,0.8);
    margin-bottom: 22.5px;
}
.hero-full p,
.news-hero-title p {
    font-size: 1.35rem;
    font-weight: 500;
    max-width: 810px;
    margin: 0 auto;
    text-shadow: 1.8px 1.8px 9px rgba(0,0,0,0.7);
}

/* ==================== BUTTONS ==================== */
.btn-primary,
.read-more-btn,
.service-btn,
.news-btn,
.btn-send,
.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 12px rgba(12, 203, 105, 0.15);
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-primary,
    .read-more-btn,
    .service-btn,
    .news-btn,
    .btn-send,
    .back-btn {
        padding: 10px 24px;
        font-size: 0.92rem;
        gap: 6px;
    }
}
@media (max-width: 480px) {
    .btn-primary,
    .read-more-btn,
    .service-btn,
    .news-btn,
    .btn-send,
    .back-btn {
        padding: 9px 20px;
        font-size: 0.9rem;
        gap: 5px;
    }
}

/* Default: Clean outline style */
.read-more-btn,
.service-btn,
.news-btn {
    background: transparent;
    border: 2px solid #0ccb69;
    color: #0ccb69;
}

/* Filled primary buttons */
.btn-primary,
.btn-send {
    background: linear-gradient(135deg, #0ccb69 0%, #0ba057 100%);
    color: white;
    box-shadow: 0 6px 18px rgba(12, 203, 105, 0.25);
}

/* Back button */
.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 40px !important;          /* ? controls size the most */
    font-size: 1.05rem !important;          /* 16 17px   comfortable size */
    font-weight: 600;
    min-width: 220px;                       /* prevents shrinking too much */
    color: #0ccb69;
    background: transparent;
    border: 2px solid #0ccb69;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 4px 12px rgba(12, 203, 105, 0.12);
}

/* Hover effects */
.read-more-btn:hover,
.service-btn:hover,
.news-btn:hover {
    background: linear-gradient(135deg, #0ccb6877 0%, #0ba05879 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(12, 203, 105, 0.3);
}
.btn-primary:hover,
.btn-send:hover {
    background: linear-gradient(135deg, #0ba057 0%, #088645 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(12, 203, 105, 0.35);
}
.back-btn:hover {
    background: #0ccb69;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(12, 203, 105, 0.3);
}

/* Modern arrow head - perfectly centered */
.read-more-btn::after,
.service-btn::after,
.news-btn::after {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.4s ease;
    align-self: center;
}
.read-more-btn:hover::after,
.service-btn:hover::after,
.news-btn:hover::after {
    transform: rotate(45deg) translateX(5px);
}

/* Dark mode */
body.dark-mode .read-more-btn,
body.dark-mode .service-btn,
body.dark-mode .news-btn {
    border-color: #0ccb69;
    color: #0ccb69;
}
body.dark-mode .read-more-btn:hover,
body.dark-mode .service-btn:hover,
body.dark-mode .news-btn:hover {
    background: linear-gradient(135deg, #0ccb69 0%, #0ba057 100%);
    color: white;
}
body.dark-mode .btn-primary,
body.dark-mode .btn-send {
    background: linear-gradient(135deg, #0ccb69 0%, #0ba057 100%);
    color: white;
}
body.dark-mode .btn-primary:hover,
body.dark-mode .btn-send:hover {
    background: linear-gradient(135deg, #0ba057 0%, #088645 100%);
    color: white;
}

/* Consistent Load More Button - same on news & projects */
.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 40px !important;          /* ? controls size the most */
    font-size: 1.05rem !important;          /* 16 17px   comfortable size */
    font-weight: 600;
    min-width: 220px;                       /* prevents shrinking too much */
    color: #0ccb69;
    background: transparent;
    border: 2px solid #0ccb69;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 4px 12px rgba(12, 203, 105, 0.12);
}

.load-more-btn:hover {
    background: #0ccb69;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(12, 203, 105, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Wrapper for perfect centering */
.load-more-wrapper {
    text-align: center;
    margin: 60px 0 100px;
}

/* Dark mode support */
body.dark-mode .load-more-btn,
body.dark-mode .load-more-btn-sq {
    border-color: #0ccb69;
    color: #0ccb69;
}

body.dark-mode .load-more-btn:hover,
body.dark-mode .load-more-btn-sq:hover {
    background: linear-gradient(135deg, #0ccb69 0%, #0ba057 100%);
    color: white;
}
/* ==================== CONTACT PAGE ==================== */
.contact-section {
    padding: 108px 0 90px;
    background: white;
}
.contact-card {
    background: white;
    padding: 45px;
    border-radius: 27px;
    box-shadow: 0 22.5px 72px rgba(0,31,63,0.12);
}
.form-control {
    border: none;
    border-bottom: 1.8px solid #ddd;
    border-radius: 0;
    padding-left: 0;
    font-size: 0.99rem;
    background: transparent;
}
.map-card {
    border-radius: 27px;
    overflow: hidden;
    box-shadow: 0 22.5px 72px rgba(0,31,63,0.12);
    height: 100%;
}

/* ==================== NEWS PAGE - HERO CAROUSEL & ARTICLES GRID ==================== */
        /* Dark mode support */
        body.dark-mode .news-hero-section {
            background: #0d1117;
        }
        body.dark-mode .news-hero-section h1 {
            color: #e6edf3;
        }
        /* Responsive */
        @media (max-width: 992px) {
            .news-hero-section .row {
                text-align: center;
            }
            .news-hero-section .col-lg-2,
            .news-hero-section .col-lg-10 {
                flex: 0 0 100%;
                max-width: 100%;
            }
            .news-hero-section .butn-bord-sm {
                justify-content: center;
                margin-bottom: 27px;
            }
        }
        @media (max-width: 768px) {
            .news-hero-section {
                padding: 90px 0 45px 0;
            }
        }

/* Carousel container */
.carousel-container {
    padding: 108px 0 90px;
    position: relative;
    width: 100%;
}
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: stretch;
    gap: 54px;
}
.carousel-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Full image card in hero carousel */
.ramp-image-card {
    flex: 1.5;
    position: relative;
    border-radius: 27px;
    overflow: hidden;
    box-shadow: 0 13.5px 45px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: transform 0.4s ease;
    height: 360px;
}
.ramp-image-card:hover {
    transform: translateY(-7.2px);
}
.ramp-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ramp-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.article-title {
    font-size: clamp(1.62rem, 3.5vw, 2.16rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 18px;
    color: #001f3f;
}
.dark-mode .article-title,
.dark-mode .article-title a {
    color: #e6edf3;
}
.article-title a {
    color: #001f3f;
    text-decoration: none;
    transition: color 0.3s;
}
.article-title a:hover {
    color: #0ccb69;
}
.ramp-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 27px;
    color: #000;
}
.dark-mode .ramp-excerpt {
    color: #c9d1d9;
}
.ramp-meta {
    font-size: 0.9rem;
    color: #666;
}
.dark-mode .ramp-meta {
    color: #8b949e;
}
.ramp-date {
    font-weight: 600;
    color: #0ccb69;
}

/* Carousel dots */
.ramp-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 54px;
}
.ramp-dots .dot {
    width: 8.1px;
    height: 8.1px;
    background: #ddd;
    border-radius: 50%;
}
.ramp-dots .dot.active {
    background: #0ccb69;
}
.dark-mode .ramp-dots .dot {
    background: #444;
}
.dark-mode .ramp-dots .dot.active {
    background: #0ccb69;
}

/* ----- ARTICLES GRID SECTION ----- */
.ramp-articles-section {
    padding: 90px 0;
    background: #f8f9fa;
}
.dark-mode .ramp-articles-section {
    background: #0d1117;
}
.articles-title {
    font-size: 2.52rem;
    font-weight: 800;
    color: #001f3f;
    margin: 0 0 54px 0;
    text-align: center;
}
.dark-mode .articles-title {
    color: #e6edf3;
}
.ramp-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(306px, 1fr));
    gap: 45px;
    margin-bottom: 72px;
}

/* Article item: small image card + text outside */
.ramp-article-item {
    display: flex;
    flex-direction: column;
    gap: 18px;
    cursor: pointer;
    transition: transform 0.4s ease;
}
.ramp-article-item:hover {
    transform: translateY(-7.2px);
}

/* Smaller standalone image card */
.small-image-card {
    width: 100%;
    height: 198px;
    border-radius: 27px;
    overflow: hidden;
    box-shadow: 0 13.5px 45px rgba(0,0,0,0.1);
    transition: box-shadow 0.4s ease;
}
.dark-mode .small-image-card {
    box-shadow: 0 13.5px 45px rgba(0,0,0,0.6);
}
.ramp-article-item:hover .small-image-card {
    box-shadow: 0 22.5px 54px rgba(0,0,0,0.15);
}
.small-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ramp-article-item:hover .small-image-card img {
    transform: scale(1.08);
}

/* Text outside the card */
.article-text-outside {
    display: flex;
    flex-direction: column;
}
.article-tag {
    text-transform: uppercase;
    font-size: 0.81rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 1.8px;
    margin-bottom: 9px;
}
.dark-mode .article-tag {
    color: #8b949e;
}
.article-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #001f3f;
    margin-bottom: 13.5px;
    line-height: 1.4;
}
.article-card-title a:hover {
    color: #0ccb69;
}

.dark-mode .article-card-title {
    color: #e6edf3;
}
.article-excerpt {
    font-size: 0.99rem;
    line-height: 1.6;
    color: #555;
}
.dark-mode .article-excerpt {
    color: #c9d1d9;
}


/* ----- RESPONSIVE ----- */
@media (max-width: 992px) {
    .ramp-hero-section {
        padding-top: 180px;
    }
    .hero-page-title {
        position: static;
        text-align: center;
        margin-bottom: 45px;
    }
    .ramp-hero-wrapper,
    .carousel-slide {
        flex-direction: column;
        align-items: center;
        gap: 36px;
    }
    .ramp-image-card {
        flex: none;
        width: 100%;
        max-width: 720px;
        height: 324px;
    }
    .ramp-text-content {
        text-align: center;
    }
}
@media (max-width: 768px) {
    .ramp-articles-grid {
        grid-template-columns: 1fr;
        gap: 54px;
    }
    .small-image-card {
        height: 234px;
    }
    .custom-pagination {
        gap: 9px;
    }
    .pag-arrow,
    .pag-number {
        width: 40.5px;
        height: 40.5px;
        font-size: 1.08rem;
    }
}

/* ==================== NEWS & PROJECT DETAIL PAGES ==================== */
.news-content,
.project-content {
    padding: 90px 0 72px;
    background: white;
}
.news-text,
.project-text {
    font-size: 1.035rem;
    line-height: 1.7;
    color: #444;
    max-width: 810px;
    margin: 0 auto;
    padding: 0 18px;
}
.news-text img,
.project-text img {
    max-width: 100%;
    height: auto;
    border-radius: 10.8px;
    margin: 1.35rem 0;
    box-shadow: 0 9px 27px rgba(0,0,0,0.15);
}

/* ==================== GALLERY ==================== */
.gallery-section {
    padding: 63px 0;
    background: #f8f9fa;
}
.gallery-title {
    text-align: center;
    margin-bottom: 2.25rem;
    color: #001f3f;
    font-weight: 700;
    font-size: 2.07rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
    gap: 1.35rem;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 0.9rem;
}
.gallery-thumb {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 14.4px;
    box-shadow: 0 9px 27px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}
.gallery-thumb:hover {
    transform: translateY(-9px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.2);
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== PROJECTS PAGE ==================== */
.projects-section {
    padding: 108px 0 90px;
}

.blog-style1 .item {
    margin-bottom: 90px;
    display: flex;
    align-items: stretch;
    gap: 90px;
}

.blog-style1 .fit-img {
    flex: 0 0 58%;
    position: relative;
    height: 420px;
    border-radius: 45px;
    overflow: hidden;
    box-shadow: 0 36px 72px rgba(0,0,0,0.18);
    cursor: pointer;
}

.blog-style1 .fit-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.blog-style1 .item:hover img {
    transform: scale(1.12);
}

.blog-style1 .date-badge {
    position: absolute;
    bottom: 10px;
    right: px;
    background: rgba(0, 0, 0, 0.423);
    color: white;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 9px 27px rgba(0,0,0,0.3);
    z-index: 2;
    transition: all 0.4s ease;
}
.blog-style1 .text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 18px 0 0;
    height: 420px;
}

.blog-style1 .project-title {
    font-size: 1.98rem;
    font-weight: 800;
    margin-bottom: 27px;
    line-height: 1.4;
}

.blog-style1 .project-excerpt {
    font-size: 1.17rem;
    line-height: 1.75;
    color: #555;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 9;
    line-clamp: 9;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.blog-style1 .project-title a {
    color: #001f3f;
    text-decoration: none;
    transition: color 0.4s ease;
}

.blog-style1 .project-title a:hover {
    color: #0ccb69;
}

/* Pagination */
.projects-pagination {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 90px 0 36px 0;
}

.projects-pagination a {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 9px 27px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: #001f3f;
    transition: all 0.4s ease;
}

.projects-pagination a:hover:not(.active) {
    background: #0ccb69;
    color: white;
    transform: translateY(-6px) scale(1.1);
}

.projects-pagination a.active {
    background: #0ccb69;
    color: white;
    box-shadow: 0 18px 45px rgba(12, 203, 105, 0.4);
    transform: scale(1.1);
}

/* Dark Mode */
body.dark-mode .pg-hero { background: #0d1117; }
body.dark-mode .pg-hero h1 { color: #e6edf3; }
body.dark-mode .blog-style1 .fit-img { box-shadow: 0 36px 72px rgba(0,0,0,0.7); }
body.dark-mode .blog-style1 .date-badge { 
    background: rgba(22, 27, 34, 0.9); 
    color: #e6edf3; 
    border-color: rgba(255, 255, 255, 0.1);
}
body.dark-mode .blog-style1 .project-title a { color: #e6edf3; }
body.dark-mode .blog-style1 .project-excerpt { color: #c9d1d9; }

@media (max-width: 992px) {
    .blog-style1 .item {
        flex-direction: column;
        gap: 54px;
    }
    .blog-style1 .fit-img {
        flex: none;
        width: 100%;
        height: 420px;
    }
    .blog-style1 .text {
        height: auto;
        padding: 0;
    }
    .blog-style1 .project-excerpt {
        -webkit-line-clamp: unset;
        line-clamp: unset;
    }
    .blog-style1 .date-badge {
        bottom: 18px;
        right: 18px;
        padding: 8px 16px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .pg-hero { padding: 90px 0; }
    .blog-style1 .fit-img { 
        height: 360px; 
        border-radius: 36px; 
    }
    .blog-style1 .project-title { font-size: 1.8rem; }
    .blog-style1 .project-excerpt { font-size: 1.08rem; }
    .blog-style1 .date-badge {
        padding: 7px 14px;
        font-size: 0.9rem;
        bottom: 15px;
        right: 15px;
    }
}

/* ==================== ABOUT PAGE ==================== */
.section-header {
    text-align: center;
    margin-bottom: 54px;
    padding-top: 54px;
}
.section-header h2,
.about-us-title h2 {
    font-size: 2.52rem;
    font-weight: 800;
    color: #001f3f;
}

.body.dark-mode .section-header h2,
.body.dark-mode .about-us-title h2 {
    color: #e6edf3 !important;
}
.section-underline {
    width: 108px;
    height: 5.4px;
    background-color: #00ff7b;
    margin: 13.5px auto 0;
    border-radius: 3.6px;
}
.mission-block {
    background: white;
    padding: 45px;
    border-radius: 27px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.1);
    font-size: 1.26rem;
    font-style: italic;
    color: #001f3f;
    position: relative;
}
.mission-block::before {
    font-size: 6.3rem;
    color: #00ff7b;
    position: absolute;
    top: -22.5px;
    left: 31.5px;
    opacity: 0.3;
}
.about-alt {
    padding: 72px 0;
    background: white;
}
.about-alt:nth-child(even) {
    background: #f8f9fa;
}
.feature-grid,
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
    gap: 31.5px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 18px;
}
.feature-card,
.board-card {
    background: white;
    padding: 31.5px;
    border-radius: 22.5px;
    text-align: center;
    box-shadow: 0 13.5px 36px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}
.feature-card:hover,
.board-card:hover {
    transform: translateY(-10.8px);
    box-shadow: 0 22.5px 54px rgba(0,31,63,0.15);
}
.feature-card i {
    font-size: 3.15rem;
    color: #00ff7b;
    margin-bottom: 22.5px;
}
.board-card img {
    width: 100%;
    height: 252px;
    border-radius: 16.5px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-card {
    border-radius: 24px;           /* bigger modern rounding */
    overflow: hidden;
    background: white;
    transition: all 0.35s ease;
}


/* ==================== SERVICES SECTION ==================== */
.services-section {
    background: linear-gradient(rgba(0, 0, 30, 0.75), rgba(0, 0, 30, 0.85)), url('https://inset.al/images/TrueBlueProject-90764.jpeg') center/cover no-repeat;
    padding: 90px 0 108px;
    margin-top: 72px;
    color: white;
}
.services-title {
    font-size: 2.7rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 13.5px;
    color: white;
}
.services-underline {
    width: 90px;
    height: 4.5px;
    background-color: #00ff7b;
    margin: 0 auto 54px auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    justify-content: center;
    gap: 31.5px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 18px;
}
.service-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 31.5px 22.5px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 13.5px 27px rgba(0, 0, 0, 0.3);
}
.service-icon {
    font-size: 2.88rem;
    margin-bottom: 22.5px;
    color: #00ff7b;
}
.service-card h5 {
    font-size: 1.17rem;
    font-weight: 600;
    margin-bottom: 13.5px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-card .service-btn {
    margin-top: auto;
    padding: 11px 28px;
}

/* ==================== ABOUT US SECTION (HOMEPAGE) ==================== */
.about-section {
    background-color: #fff;
    padding: 90px 0;
}
.about-container {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 72px;
    flex-wrap: wrap;
    padding: 0 18px;
}
.about-img-wrapper {
    position: relative;
    flex: 1;
    min-width: 270px;
    max-width: 450px;
}
.about-img-wrapper::before {
    content: '';
    position: absolute;
    top: -31.5px;
    left: -31.5px;
    width: 100%;
    height: 100%;
    border: 4.5px solid #00ff7b;
    z-index: -1;
}
.about-img-wrapper::after {
    content: '';
    position: absolute;
    top: -16.2px;
    left: -16.2px;
    width: 100%;
    height: 100%;
    border: 2.7px solid #00ff7b;
    z-index: -1;
}
.about-img {
    width: 100%;
    border-radius: 27px;
    object-fit: cover;
    box-shadow: 0 9px 27px rgba(0,0,0,0.1);
}
.about-text {
    flex: 1;
    min-width: 270px;
    max-width: 522px;
}
.about-text h1 {
    font-size: 2.7rem;
    font-weight: 800;
    color: #001f3f;
    margin-bottom: 18px;
}
.about-underline {
    width: 81px;
    height: 4.5px;
    background-color: #00ff7b;
    margin: 18px 0 31.5px 0;
    border-radius: 3.6px;
}
.about-text p {
    font-size: 0.99rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 18px;
}

/* ==================== PARTNERS SECTION ==================== */
.partners-section {
    background-color: #f1f1f1;
    padding: 72px 0;
}
.partners-header h1 {
    color: #001f3f;
    font-weight: 800;
    text-align: center;
    font-size: 2.25rem;
}
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 31.5px;
    max-width: 1080px;
    margin: 45px auto 0;
    padding: 0 18px;
}
.partner-card {
    background: #fff;
    border-radius: 27px;
    height: 216px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22.5px;
    box-shadow: 0 9px 27px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.partner-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.15);
}
.partner-card img {
    max-height: 117px;
    max-width: 85%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.partner-card:hover img {
    filter: grayscale(0%);
}

/* ==================== FOOTER ==================== */
.card-footer {
    background-color: #05294dff;
    color: white;
    padding: 54px 54px;
    border-radius: 27px;
    max-width: 1080px;
    width: 90%;
    margin: 72px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 9px 27px rgba(0,0,0,0.3);
    text-align: center;
}

.card-footer .footer-logo {
    max-width: 252px;
    width: 100%;
    margin-bottom: 45px;
    display: inline-block;
}

/* -- Social Icons -------------------------------------------------------- */
.card-footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 31.5px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.card-footer .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1.8px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.card-footer .social-icons a:hover {
    opacity: 1;
    background-color: #0ccb69ff;
    border-color: #0ccb69ff;
}

.card-footer .social-icons i {
    font-size: 20px;              /* smaller   fits perfectly like original ~21.6px images */
    color: white;                 /* white in normal state */
    line-height: 1;
}

.card-footer .social-icons a:hover i {
    color: #000000;               /* dark on green background for contrast */
}

/* -- Contact Info -------------------------------------------------------- */
.footer-contact {
    display: flex;
    justify-content: center;
    gap: 54px;
    flex-wrap: wrap;
    margin-bottom: 45px;
    font-size: 0.9rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12.6px;
    opacity: 0.9;
}

.footer-contact-item i {
    font-size: 22px;              /* balanced with social icons */
    color: #0ccb69ff;             /* your accent green */
    flex-shrink: 0;
    line-height: 1;
}

.footer-contact-item:hover i {
    opacity: 1;
    transform: scale(1.08);       /* subtle feedback */
}

.footer-contact-item a,
.footer-contact-item span {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #0ccb69ff;
}

/* -- Footer Navigation --------------------------------------------------- */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 27px;
    flex-wrap: wrap;
    font-size: 0.855rem;
    margin-bottom: 31.5px;
}

.footer-nav a {
    display: block;
    min-width: 126px;
    width: fit-content;
    padding: 9px 21.6px;
    color: white;
    text-decoration: none;
    opacity: 0.8;
    border: 1.8px solid rgba(255,255,255,0.3);
    border-radius: 27px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-nav a:hover {
    opacity: 1;
    color: #000;
    background-color: #0ccb69ff;
    border-color: #0ccb69ff;
}

/* -- Copyright & Credits ------------------------------------------------- */
.footer-bottom {
    opacity: 0.6;
    font-size: 0.81rem;
    line-height: 1.6;
}

.footer-bottom .dev-credit a {
    color: #00ff7b;
    text-decoration: none;
}

.footer-bottom .dev-credit a:hover {
    text-decoration: underline;
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .card-footer {
        max-width: 990px;
        padding: 45px 36px;
    }
    .footer-nav a {
        min-width: 117px;
        padding: 9px 18px;
    }
}
@media (max-width: 992px) {
    .card-footer {
        padding: 45px 27px;
        margin: 54px auto;
        border-radius: 21.6px;
        max-width: 95%;
    }
    .footer-contact {
        gap: 36px;
        margin-bottom: 40.5px;
    }
    .card-footer .footer-logo {
        max-width: 216px;
        margin-bottom: 40.5px;
    }
    .footer-nav a {
        min-width: 108px;
        padding: 8.1px 16.2px;
    }
}
@media (max-width: 576px) {
    .card-footer {
        padding: 40.5px 18px;
        margin: 36px auto;
        border-radius: 18px;
    }
    .footer-contact {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .footer-contact-item { justify-content: center; }
    .footer-nav {
        gap: 13.5px;
        flex-direction: column;
        align-items: center;
    }
    .footer-nav a {
        min-width: 80%;
        max-width: 270px;
        padding: 10.8px 18px;
    }
    .card-footer .footer-logo {
        max-width: 180px;
    }
}

/* ==================== GENERAL RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 1200px) {
    .contact-section { padding: 90px 0 63px; }
    .contact-card { padding: 31.5px; }
}
@media (max-width: 992px) {
    .hero-full h1,
    .project-hero-title h1,
    .news-hero-title h1 {
        font-size: 3.24rem;
    }
    .hero-full p { font-size: 1.26rem; }
    .news-card {
        flex-direction: column;
        height: auto;
    }
    .news-image-wrapper {
        width: 100%;
        height: 234px;
    }
    .news-card-body { padding: 27px; }
    .featured-card img { height: 324px; }
    .featured-body { padding: 31.5px; }
    .featured-body h2 { font-size: 1.98rem; }
    .project-card img { height: 198px; }
    .about-container { gap: 45px; }
    .about-text h1 { font-size: 2.43rem; text-align: center; }
    .about-text .underline { margin: 0 auto 31.5px auto; }
    .about-text p, .read-more-btn { text-align: center; }
    .partner-card { height: 180px; }
    .partner-card img { max-height: 99px; }
}
@media (max-width: 768px) {
    .img-cropped { height: 324px; }
    .hero-navigation { width: 43.2px; height: 43.2px; font-size: 19.8px; }
    .hero-prev { left: 9px; }
    .hero-next { right: 9px; }
    .hero-full,
    .project-hero,
    .news-hero {
        height: 58.5dvh;
        min-height: 405px;
    }
    .hero-full h1,
    .project-hero-title h1,
    .news-hero-title h1 {
        font-size: 2.7rem;
    }
    .hero-full p { font-size: 1.17rem; }
    .contact-section { padding: 72px 0 54px; }
    .contact-card { padding: 22.5px 18px; }
    .news-image-wrapper { height: 198px; }
    .news-card-body { padding: 22.5px; }
    .news-pagination { gap: 18px; margin-top: 54px; }
    .pagination-arrow { width: 46.8px; height: 46.8px; font-size: 1.62rem; }
    .gallery-thumb { height: 144px; }
    .gallery-title { font-size: 1.8rem; }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 31.5px;
    }
    .project-card img { height: 162px; }
    .featured-body h2 { font-size: 1.8rem; }
    .about-section { padding: 63px 18px; }
    .about-text h1 { font-size: 2.16rem; }
    .partners-section { padding: 63px 0; }
    .partner-card { height: 162px; }
    .services-title { font-size: 2.34rem; }
    .service-card { height: auto; padding: 27px; }
}
@media (max-width: 576px) {
    .hero-full h1,
    .project-hero-title h1,
    .news-hero-title h1 {
        font-size: 2.34rem;
    }
}
@media (max-width: 480px) {
    .hero-full h1,
    .project-hero-title h1,
    .news-hero-title h1 {
        font-size: 2.34rem;
    }
}

/* ==================== MISCELLANEOUS ==================== */
.before-after .before-after-info { text-align: center; }
.card-services { transition: height 0.5s ease-out; overflow: hidden; }
.service-card-text { max-height: 0; overflow: hidden; transition: max-height 0.8s ease-out, opacity 0.5s ease-out; opacity: 0; }
.card.expanded .service-card-text { opacity: 1; max-height: 900px; }
.card-services.expanded { height: auto; }
@media (max-width: 600px) {
    .before-after .before-after-info { text-align: start; }
}
@media (max-width: 1000px) {
    .text-black { display: none; }
}


/* Push footer to bottom when content is short, allow normal flow when long */
.main-content {
    flex: 1 0 auto;
}
.card-footer {
    flex-shrink: 0;
}


/* Remove underline/bottom border from pagination arrows and numbers */
.custom-pagination .pag-arrow,
.custom-pagination .pag-number {
    border-bottom: none !important;   /* Removes any bottom border */
    text-decoration: none !important; /* Ensures no underline on links */
}

/* Optional: If there's a specific hover/active underline, remove it too */
.custom-pagination .pag-arrow:hover,
.custom-pagination .pag-number:hover,
.custom-pagination .pag-number.active {
    border-bottom: none !important;
    text-decoration: none !important;
}

.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.custom-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    font-weight: 500;
}

.custom-pagination a:hover:not(.disabled):not(.active) {
    background-color: #e0e0e0;
    border-color: #bbb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-pagination a.active {
    background-color: #007bff; /* Blue background for active page */
    color: white;
    border-color: #007bff;
    font-weight: bold;
}

.custom-pagination a.disabled {
    color: #aaa;
    background-color: #f9f9f9;
    border-color: #eee;
    cursor: not-allowed;
    pointer-events: none;
}

.custom-pagination .pag-arrow i {
    font-size: 20px;
}