/* ===== ROOT VARIABLES ===== */
:root {
    --header-height: 3.5rem;
    
    /* Colors */
    --first-color: #ffa600;          /* Green primary */
    --first-color-alt: #1B5E20;      /* Green dark */
    --first-color-light: #ff5500;    /* Green light */
    --title-color: #1A1A1A;          /* Dark text */
    --text-color: #4A4A4A;           /* Gray text */
    --text-color-light: #757575;     /* Light gray */
    --white-color: #FFFFFF;          /* White */
    --body-color: #FAFAFA;           /* Light background */
    --container-color: #FFFFFF;      /* Container background */
    /* Navbar specific colors */
    --nav-bg-color: #266477;        /* User requested navbar blue */
    --nav-bg-color-contrast: #214f5a; /* Slight darker variant for depth/dark mode */
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient-color: linear-gradient(185deg, #c1460d 0%, #ff5100 100%);
    
    /* Font and typography */
    --body-font: 'Inter', sans-serif;
    --title-font: 'Poppins', sans-serif;
    --biggest-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.75rem;
    
    /* Font weight */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;
    --font-extra-bold: 800;
    
    /* Margins */
    --mb-0-5: 0.5rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;
    
    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease-in-out;
}

/* Responsive typography */
@media screen and (max-width: 968px) {
    :root {
        --biggest-font-size: 2.5rem;
        --h1-font-size: 2rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.125rem;
        --normal-font-size: 0.938rem;
        --small-font-size: 0.813rem;
        --smaller-font-size: 0.75rem;
    }
}

/* ===== BASE ===== */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--title-color);
    font-family: var(--title-font);
    font-weight: var(--font-semi-bold);
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input, button, textarea {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    border: none;
    outline: none;
}

button {
    cursor: pointer;
    background: none;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.grid {
    display: grid;
}

.section {
    padding: 7rem 0 3rem;
    position: relative;
}

/* Add subtle background pattern for sections */
.section:nth-child(even) {
    background: linear-gradient(180deg, var(--body-color) 0%, rgba(38,100,119,0.03) 100%);
}

.section__title {
    font-size: var(--h2-font-size);
    text-align: center;
    margin-bottom: var(--mb-2-5);
    font-family: var(--title-font);
    font-weight: var(--font-bold);
    position: relative;
    color: var(--title-color);
    text-transform: capitalize;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-color);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(255, 166, 0, 0.3);
}

.section__subtitle {
    display: block;
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-3);
    text-align: center;
    color: var(--text-color);
    font-weight: var(--font-medium);
    opacity: 0.85;
}

.button {
    display: inline-block;
    background: var(--gradient-color);
    color: var(--white-color);
    padding: 1.125rem 2.5rem;
    border-radius: 50px;
    font-weight: var(--font-semi-bold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 24px rgba(255, 166, 0, 0.25);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: var(--small-font-size);
}

.button::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 0.5s;
}

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

.button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 32px rgba(255, 166, 0, 0.35);
}

.button--white {
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.3);
}

.button--white {
    background: var(--white-color);
    color: var(--first-color);
}

.button--white:hover {
    background: var(--white-color);
    color: var(--first-color-alt);
}

.button--ghost {
    background: transparent;
    color: var(--first-color);
    border: 2px solid var(--first-color);
}

.button--ghost:hover {
    background: var(--first-color);
    color: var(--white-color);
}

/* ===== HEADER & NAV ===== */
.header {
    width: 100%;
    background-color: var(--nav-bg-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    transition: var(--transition);
    box-shadow: 0 2px 20px var(--shadow-color);
}

.nav {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* ===== LOGO STYLES ===== */
.nav__logo {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    font-weight: var(--font-bold);
    z-index: calc(var(--z-fixed) + 1);
}

.nav__logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.nav__logo-text {
    font-size: var(--normal-font-size);
    font-family: var(--title-font);
    font-weight: var(--font-semi-bold);
    color: var(--white-color);
}

/* Desktop: Show only desktop logo */
.nav__logo--desktop {
    display: flex;
}

.nav__logo--mobile {
    display: none;
}

/* ===== NAVIGATION MENU ===== */
.nav__menu {
    margin-left: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    column-gap: 2rem;
    list-style: none;
}

.nav__link {
    color: var(--white-color);
    font-weight: var(--font-medium);
    font-size: var(--normal-font-size);
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--first-color);
}

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

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

/* ===== TOGGLE & CLOSE BUTTONS ===== */
.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    color: var(--white-color);
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--white-color);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-color);
}

.footer__container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer brand section */
.footer__content:first-child {
    grid-column: span 1;
}

.footer__logo {
    display: flex;
    align-items: center;
    column-gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer__logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(1.1);
}

.footer__logo-text {
    font-size: 1.25rem;
    font-family: var(--title-font);
    font-weight: var(--font-bold);
    color: var(--white-color);
    line-height: 1.3;
}

.footer__description {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Footer sections */
.footer__title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: var(--font-semi-bold);
    color: var(--white-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-color);
    border-radius: 2px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    row-gap: 0.75rem;
    list-style: none;
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    padding: 0.25rem 0;
}

.footer__link i {
    color: var(--first-color);
    font-size: 1rem;
    min-width: 20px;
}

.footer__link:hover {
    color: var(--white-color);
    transform: translateX(5px);
}

.footer__link:hover i {
    color: var(--first-color-light);
}

/* Social media */
.footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--white-color);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__social-link:hover {
    background: var(--gradient-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 166, 0, 0.3);
    border-color: transparent;
}

/* Copyright */
.footer__copy {
    text-align: center;
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.2);
}

.footer__copy p {
    margin: 0;
}

/* Responsive footer */
@media screen and (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }
    
    .footer__container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 2rem;
    }
    
    .footer__logo-text {
        font-size: 1.1rem;
    }
    
    .footer__title {
        font-size: 1rem;
    }
    
    .footer__social {
        justify-content: flex-start;
    }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
    .footer__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .footer__content:first-child {
        grid-column: span 2;
    }
}

@media screen and (min-width: 1024px) {
    .footer__container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3rem;
    }
    
    .footer__content:first-child {
        grid-column: span 1;
    }
}

/* ===== SCROLL TOP ===== */
.scrolltop {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.3rem;
    background: var(--gradient-color);
    border-radius: 50%;
    z-index: var(--z-tooltip);
    transition: var(--transition);
    visibility: hidden;
    width: 45px;
    height: 45px;
}

.scrolltop.show-scroll {
    visibility: visible;
    bottom: 2rem;
}

.scrolltop__icon {
    font-size: 1.5rem;
    color: var(--white-color);
}

.scrolltop:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.slide-in {
    animation: slideIn 0.6s ease-out forwards;
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Hover animations */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

.hover-rotate {
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ===== MEDIA QUERIES ===== */
/* For extra small devices */
@media screen and (max-width: 320px) {
    .container {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    
    .nav__menu {
        padding: 3rem 1.5rem 2rem;
        width: 90%;
    }
    
    .nav__list {
        row-gap: 1rem;
        margin-top: 1rem;
    }
    
    .nav__link {
        padding: 0.75rem 1rem;
        font-size: var(--small-font-size);
    }
    
    .button {
        padding: 0.75rem 1.5rem;
        font-size: var(--small-font-size);
    }
    
    .section__title {
        font-size: var(--h3-font-size);
    }
    
    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* For small devices */
@media screen and (max-width: 350px) {
    .container {
        margin-left: var(--mb-1);
        margin-right: var(--mb-1);
    }
    
    .nav__menu {
        padding: 3.5rem 2rem 3rem;
        width: 88%;
    }
    
    .nav__list {
        row-gap: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .nav__link {
        padding: 0.875rem 1.25rem;
        font-size: var(--small-font-size);
    }
    
    .section {
        padding: 4rem 0 2rem;
    }
    
    .home__buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .button {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* For medium small devices */
@media screen and (max-width: 480px) {
    .nav__logo-text {
        font-size: var(--normal-font-size);
    }
    
    .nav__toggle {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 5rem 0 2rem;
    }
    
    .section__title {
        margin-bottom: var(--mb-2);
    }
    
    .home__title {
        font-size: 2rem;
        text-align: center;
    }
    
    .home__subtitle {
        font-size: var(--normal-font-size);
        text-align: center;
    }
    
    .home__description {
        font-size: var(--small-font-size);
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .home__data {
        text-align: center;
    }
    
    .services__content {
        padding: 2rem 1.5rem;
    }
    
    .services__icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .contact__form {
        padding: 2rem 1.5rem;
    }
    
    .about__info {
        grid-template-columns: 1fr;
    }
}

/* ===== MOBILE RESPONSIVE ===== */
@media screen and (max-width: 768px) {
    .header {
        box-shadow: 0 4px 24px rgba(38, 100, 119, 0.15);
    }
    
    .nav {
        padding: 0 1rem;
    }
    
    /* Hide desktop logo, show toggle button */
    .nav__logo--desktop {
        display: none;
    }
    
    .nav__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav__toggle:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }
    
    /* Mobile menu: slide in from right */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: linear-gradient(135deg, var(--nav-bg-color) 0%, var(--nav-bg-color-contrast) 100%);
        padding: 2rem 2rem 3rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 32px rgba(38, 100, 119, 0.3);
        z-index: calc(var(--z-fixed) + 1);
        backdrop-filter: blur(10px);
        overflow-y: auto;
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    /* Logo inside mobile menu */
    .nav__logo--mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        margin-bottom: 2rem;
    }
    
    .nav__logo--mobile .nav__logo-img {
        height: 60px;
        width: auto;
        margin-bottom: 0.75rem;
    }
    
    .nav__logo--mobile .nav__logo-text {
        font-size: var(--normal-font-size);
        color: var(--white-color);
        text-align: center;
    }
    
    /* Mobile menu list */
    .nav__list {
        flex-direction: column;
        align-items: stretch;
        row-gap: 0.5rem;
    }
    
    .nav__link {
        font-size: var(--normal-font-size);
        padding: 1rem 1.5rem;
        border-radius: 12px;
        border: 2px solid transparent;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align: center;
    }
    
    .nav__link:hover,
    .nav__link.active-link {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 166, 0, 0.3);
        transform: translateX(4px);
    }
    
    /* Close button */
    .nav__close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 1.25rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav__close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg) scale(1.1);
    }
    
    .section {
        padding: 4rem 0 2rem;
    }
    
    .home {
        padding-top: var(--header-height);
    }
    
    .home__data {
        text-align: center;
    }
    
    .home__title {
        font-size: 2.5rem;
    }
    
    .home__buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about__container,
    .contact__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about__data,
    .contact__data {
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
    
    .about__img {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .services__container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .footer__container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer__social {
        justify-content: center;
    }
    
    /* Touch-friendly elements */
    .button {
        min-height: 44px;
        padding: 1rem 2rem;
    }
    
    .nav__link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .nav__toggle,
    .nav__close {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .scrolltop {
        width: 50px;
        height: 50px;
        right: 1rem;
        bottom: 1rem;
    }
    
    .scrolltop__icon {
        font-size: 1.25rem;
    }
}

/* For medium-large devices */
@media screen and (min-width: 769px) and (max-width: 968px) {
    .container {
        max-width: 750px;
    }
    
    .services__container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about__container,
    .contact__container {
        gap: 2.5rem;
    }
}

/* For large devices */
@media screen and (min-width: 1024px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
    
    .section {
        padding: 8rem 0 2rem;
    }
    
    .nav {
        height: calc(var(--header-height) + 1rem);
    }
}

/* ===== JUMBOTRON / HERO ===== */
.home {
    position: relative;
    overflow: hidden;
}

.jumbotron {
    position: relative;
    width: 100%;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    background-image: url('/jumbo.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--white-color);
    overflow: hidden;
    /* Alternating background animation between jumbo.webp and jumbo1.webp */
    animation: heroBackgroundRotate 10s ease-in-out infinite;
}

/* Keyframes for alternating hero background images */
@keyframes heroBackgroundRotate {
    0%, 45% { 
        background-image: url('/jumbo.webp'); 
    }
    50%, 95% { 
        background-image: url('/jumbo1.webp'); 
    }
    100% { 
        background-image: url('/jumbo.webp'); 
    }
}

.jumbotron::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.55) 100%);
    pointer-events: none;
}

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

.home__data {
    color: var(--white-color);
    text-align: left;
    max-width: 700px;
}

/* Subtle looping animation for hero content: gentle vertical float to add life without being distracting */
.home__data {
    /* keep existing layout rules above; animation layered on top */
    animation: heroFloat 8s ease-in-out infinite;
    will-change: transform;
}

@keyframes heroFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .home__data,
    .home__title,
    .home__subtitle,
    .home__description,
    .home__buttons,
    .jumbotron::before,
    .home__buttons .button,
    * {
        animation: none !important;
        transform: none !important;
        transition: none !important;
        box-shadow: none !important;
    }
}

/* ===== Lightweight layered entry animations & micro-interactions for hero ===== */
/* Staggered fade-up for title, subtitle, description and buttons */
.home__title,
.home__subtitle,
.home__description,
.home__buttons {
    opacity: 0;
    transform: translateY(10px) scale(0.998);
    will-change: opacity, transform;
    animation: fadeUp 900ms cubic-bezier(.22,.9,.28,1) forwards;
}
.home__title { animation-delay: 0.20s; }
.home__subtitle { animation-delay: 0.45s; }
.home__description { animation-delay: 0.70s; }
.home__buttons { animation-delay: 0.95s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px) scale(0.998); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Gentle overlay drift to create subtle depth without animating the background image directly */
.jumbotron::before {
    /* existing gradient stays; add a slow transform movement */
    animation: overlayDrift 18s ease-in-out infinite;
    will-change: transform;
}

@keyframes overlayDrift {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* Button micro-interactions for CTAs */
.home__buttons .button {
    transition: transform 180ms var(--transition), box-shadow 180ms var(--transition);
}
.home__buttons .button:hover,
.home__buttons .button:focus {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(10,10,10,0.18);
}

/* HOME SCROLL INDICATOR */

.home__title {
    font-size: clamp(2.5rem, 5vw, var(--biggest-font-size));
    font-weight: var(--font-extra-bold);
    margin-bottom: var(--mb-1);
    line-height: 1.1;
    color: var(--white-color);
}

.home__subtitle {
    font-size: clamp(1rem, 2.5vw, var(--h3-font-size));
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-1-5);
    opacity: 0.95;
    color: var(--white-color);
}

.home__description {
    font-size: clamp(0.875rem, 1.5vw, var(--normal-font-size));
    margin-bottom: var(--mb-2-5);
    opacity: 0.9;
    line-height: 1.6;
    color: var(--white-color);
}

.home__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.home__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white-color);
    text-align: center;
    animation: bounce 2s infinite;
    z-index: 3;
}

.home__scroll-text {
    display: block;
    margin-bottom: 0.5rem;
    font-size: var(--small-font-size);
}

.home__scroll-icon {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ABOUT SECTION */
.about {
    padding: 6rem 0;
}

.about__container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about__img {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.about__img img {
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(38, 100, 119, 0.15);
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
}

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

.about__img::before {
    content: '';
    position: absolute;
    top: -24px;
    left: -24px;
    width: 100%;
    height: 100%;
    background: var(--gradient-color);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.7;
}

.about__img::after {
    content: '';
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, rgba(38, 100, 119, 0.1) 0%, rgba(255, 166, 0, 0.1) 100%);
    border-radius: 24px;
    z-index: -2;
}

.about__data {
    padding-left: 2rem;
}

.about__description {
    margin-bottom: var(--mb-2);
    line-height: 1.8;
}

.about__info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: var(--mb-2);
}

.about__info-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, var(--container-color) 0%, rgba(38, 100, 119, 0.03) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(38, 100, 119, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.about__info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 166, 0, 0.1), transparent);
    transition: left 0.5s;
}

.about__info-item:hover::before {
    left: 100%;
}

.about__info-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 40px rgba(38, 100, 119, 0.15);
    border-color: rgba(38, 100, 119, 0.2);
}

.about__info-number {
    font-size: var(--h1-font-size);
    font-weight: var(--font-extra-bold);
    background: var(--gradient-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
}

.about__info-title {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

/* SERVICES SECTION */
.services {
    background-color: var(--body-color);
    padding: 6rem 0;
}

.services__container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.services__content {
    background: var(--container-color);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(38, 100, 119, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(38, 100, 119, 0.08);
}

.services__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services__content:hover::before {
    transform: scaleX(1);
}

.services__content:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 48px rgba(38, 100, 119, 0.18);
    border-color: rgba(38, 100, 119, 0.15);
}

.services__icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-1-5);
    font-size: 2.25rem;
    color: var(--white-color);
    box-shadow: 0 8px 24px rgba(255, 166, 0, 0.25);
    transition: all 0.3s ease;
}

.services__content:hover .services__icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(255, 166, 0, 0.35);
}

.services__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
    color: var(--title-color);
}

.services__description {
    line-height: 1.6;
    margin-bottom: var(--mb-1-5);
}

.services__button {
    color: var(--first-color);
    font-weight: var(--font-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.services__button:hover {
    transform: translateX(5px);
}

/* ===== PROJECTS SECTION ===== */
.projects {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.projects__container {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.projects__card {
    background: var(--white-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
}

.projects__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.projects__img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.projects__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.projects__card:hover .projects__img {
    transform: scale(1.1);
}

.projects__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.projects__card:hover .projects__overlay {
    opacity: 1;
}

.projects__category {
    background: var(--gradient-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.projects__content {
    padding: 1.5rem;
}

.projects__title {
    font-size: var(--h3-font-size);
    color: var(--title-color);
    margin-bottom: 0.75rem;
    font-weight: var(--font-semi-bold);
    transition: color 0.3s ease;
}

.projects__card:hover .projects__title {
    color: var(--first-color);
}

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

.projects__info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--text-color-light);
    font-size: 0.875rem;
}

.projects__info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.projects__info i {
    color: var(--first-color);
    font-size: 1rem;
}

/* Responsive Projects */
@media screen and (max-width: 768px) {
    .projects__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .projects__img-wrapper {
        height: 200px;
    }
}

@media screen and (min-width: 1024px) {
    .projects__container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* CONTACT SECTION */
.contact {
    padding: 6rem 0;
}

.contact__container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact__data {
    padding-right: 2rem;
}

.contact__info {
    margin-bottom: var(--mb-2);
}

.contact__info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--mb-1-5);
    padding: 1rem;
    background: var(--container-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact__info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.25rem;
}

.contact__info-title {
    font-weight: var(--font-medium);
    margin-bottom: 0.25rem;
}

.contact__info-subtitle {
    color: var(--text-color-light);
    font-size: var(--small-font-size);
}

.contact__form {
    background: var(--container-color);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(38, 100, 119, 0.12);
    border: 1px solid rgba(38, 100, 119, 0.08);
    position: relative;
    overflow: hidden;
}

.contact__form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: var(--gradient-color);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.contact__form-group {
    margin-bottom: var(--mb-1-5);
}

.contact__form-label {
    display: block;
    font-weight: var(--font-semi-bold);
    margin-bottom: 0.75rem;
    color: var(--title-color);
    font-size: var(--small-font-size);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact__form-input {
    width: 100%;
    padding: 1.125rem 1.25rem;
    border: 2px solid rgba(38, 100, 119, 0.1);
    background: var(--body-color);
    border-radius: 12px;
    font-size: var(--normal-font-size);
    transition: all 0.3s ease;
    font-family: var(--body-font);
}

.contact__form-input:focus {
    border-color: var(--nav-bg-color);
    background: var(--white-color);
    box-shadow: 0 4px 16px rgba(38, 100, 119, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.contact__form-input select,
.contact__form-input option {
    background: var(--body-color);
    color: var(--text-color);
    cursor: pointer;
}

.contact__form-input:focus select {
    background: var(--white-color);
}

.contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Mobile tweaks for jumbotron */
@media screen and (max-width: 768px) {
    .jumbotron {
        min-height: 85vh;
        background-position: center center;
        padding: calc(var(--header-height) + 2rem) 0 3rem;
    }
    
    .home__data {
        text-align: center;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .home__title {
        font-size: 2.25rem;
    }
    
    .home__subtitle {
        font-size: var(--normal-font-size);
    }
    
    .home__description {
        font-size: var(--normal-font-size);
    }
    
    .home__buttons {
        justify-content: center;
    }
    
    .about__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about__data {
        padding-left: 0;
    }
    
    .about__img::before {
        top: -12px;
        left: -12px;
    }
    
    .about__img::after {
        bottom: -12px;
        right: -12px;
    }
    
    .services__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services__content {
        padding: 2.5rem 2rem;
    }
    
    .contact__form {
        padding: 2rem;
    }
    
    .section {
        padding: 5rem 0 2rem;
    }
}

/* For medium to large devices */
/* ===== DESKTOP RESPONSIVE ===== */
@media screen and (min-width: 769px) {
    /* Increase header height for better logo visibility */
    .nav {
        height: calc(var(--header-height) + 1rem);
    }
    
    /* Desktop logo styling */
    .nav__logo--desktop {
        display: flex;
    }
    
    .nav__logo--desktop .nav__logo-img {
        height: 65px;
        width: auto;
    }
    
    .nav__logo--mobile {
        display: none;
    }
    
    /* Hide toggle button on desktop */
    .nav__toggle {
        display: none !important;
    }
    
    /* Desktop menu: static position, centered */
    .nav__menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        padding: 0;
        box-shadow: none;
        backdrop-filter: none;
    }
    
    .nav__list {
        flex-direction: row;
        column-gap: 2.5rem;
    }
    
    .nav__link {
        font-size: var(--normal-font-size);
        padding: 0.5rem 0;
        background: none;
        border: none;
        transform: none;
        text-transform: none;
        letter-spacing: normal;
    }
    
    .nav__link:hover,
    .nav__link.active-link {
        background: none;
        border: none;
        transform: none;
    }
    
    .nav__link::after {
        bottom: 0;
    }
    
    .nav__close {
        display: none;
    }
    
    /* Additional desktop refinements */
    .home__title {
        font-size: 2rem;
        text-align: center;
    }
    
    .home__data {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .home {
        padding-top: 0;
    }
}

/* For large devices */
@media screen and (min-width: 1024px) {
    .home__data {
        text-align: left;
    }
    
    .home__title {
        font-size: var(--biggest-font-size);
    }
    
    .services__container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .about__container,
    .contact__container {
        gap: 4rem;
    }
    
    .about__data,
    .contact__data {
        text-align: left;
    }
    
    .footer__container {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* For extra large devices */
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .home__title {
        font-size: 3.5rem;
    }
    
    .section__title {
        font-size: 2.5rem;
    }
    
    .services__container {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .services__content {
        padding: 3rem 2.5rem;
    }
    
    .about__container,
    .contact__container {
        gap: 5rem;
    }
}

@media screen and (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .section {
        padding: 10rem 0 3rem;
    }
}

/* Landscape orientation for mobile devices */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .home {
        height: auto;
        min-height: 100vh;
        padding: var(--header-height) 0 2rem;
    }
    
    .nav__menu {
        height: 100vh;
        overflow-y: auto;
    }
}

/* High DPI displays */
@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (min-resolution: 192dpi) {
    .nav__logo-img,
    .footer__logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --title-color: #F5F5F5;
        --text-color: #D0D0D0;
        --text-color-light: #A0A0A0;
        --body-color: #1A1A1A;
        --container-color: #2D2D2D;
        --shadow-color: rgba(255, 255, 255, 0.1);
    }
    
    .header {
        background-color: var(--nav-bg-color-contrast);
    }
    
    .scroll-header {
        background-color: var(--nav-bg-color-contrast);
        box-shadow: 0 4px 20px var(--shadow-color);
    }
}

/* End of CSS file */