:root {
    --primary: #2d4a2d;
    --primary-dark: #1e331e;
    --primary-light: #3d5a3d;
    --gold: #d4af37;
    --gold-dark: #b8941f;
    --gold-light: #e4c358;
    --olive: #3d4f1f;
    --olive-dark: #2a3516;
    --light: #faf8f3;
    --dark: #1a1a1a;
    --gray: #6c757d;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Poppins", sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--light);
}

.section-title {
    position: relative;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 800;
    font-size: 2.5rem;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 3px;
}

.section-title.text-center {
    display: block;
    text-align: center;
    padding-bottom: 10px;
}

.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    transition: all 0.4s;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 1rem 2.5rem;
    font-weight: 700;
    transition: all 0.4s;
    border-radius: 50px;
    font-size: 1.1rem;
}

.btn-outline-custom:hover {
    background: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3);
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg,
            var(--primary-dark) 0%,
            var(--primary) 100%);
    padding: 0.5rem 0;
    transition: all 0.4s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg,
            var(--primary-dark) 0%,
            var(--olive-dark) 100%);
}

.navbar-brand {
    font-weight: 600;
    font-size: 2rem;
    color: white !important;
    font-family: "Poppins", sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.navbar-brand img.logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
    transition: transform 0.3s;
}

.navbar-brand:hover img.logo {
    transform: scale(1.1) rotate(5deg);
}

.navbar-brand .brand-text span {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    margin: 0 8px;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s;
}

.nav-link:hover:before,
.nav-link.active:before {
    left: 0;
    right: 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold) !important;
}

/* Hero Section */
.hero {
    background:
        linear-gradient(135deg,
            rgba(61, 90, 61, 0.95) 0%,
            rgba(85, 107, 47, 0.9) 50%),
        url("https://images.unsplash.com/photo-1487958449943-2429e8be8625?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 9rem 0 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right,
            rgba(212, 175, 55, 0.15),
            transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
    color: var(--gold);
    display: block;
    font-size: 4.5rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 600px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 5px solid var(--gold);
}

/* About Section */
.about {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--light) 0%, #ffffff 100%);
}

.about-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--gold);
}

.about-content .lead {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    line-height: 2;
    color: var(--dark);
    font-size: 1.1rem;
}

.vision-mission-box {
    background: linear-gradient(135deg, #ffffff 0%, var(--light) 100%);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.4s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.vision-mission-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.vision-mission-box:hover {
    transform: translateY(-15px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
}

.vision-mission-box i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary), var(--olive));
    margin-bottom: 1.5rem;
}

.vision-mission-box h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.vision-mission-box p {
    color: var(--gray);
    line-height: 1.8;
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--olive) 100%);
    color: white;
}

.stat-box {
    text-align: center;
    padding: 2rem;
}

.stat-box i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: white;
}

.service-card {
    background: linear-gradient(to bottom, #ffffff, var(--light));
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.4s;
    border-top: 5px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover:before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-top-color: var(--gold);
}

.service-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.service-card p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Team Section */
.team {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--light), #ffffff);
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: all 0.4s;
    border: 3px solid transparent;
}

.team-member:hover {
    transform: translateY(-15px);
    border-color: var(--gold);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.2);
}

.team-member-img {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.team-member-img:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(61, 90, 61, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.team-member:hover .team-member-img:before {
    opacity: 1;
}

.team-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-member:hover .team-member-img img {
    transform: scale(1.15);
}

.team-member-info {
    padding: 2rem;
    text-align: center;
}

.team-member-info h5 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-member-info p {
    color: var(--gold);
    font-weight: 600;
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
    background: white;
}

.portfolio-filter {
    margin-bottom: 4rem;
}

.filter-btn {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.7rem 2rem;
    margin: 0.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    font-size: 1rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--olive));
    color: white;
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(61, 90, 61, 0.2);
}

.portfolio-item {
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.4s;
    position: relative;
    height: 350px;
    border: 3px solid transparent;
}

.portfolio-item.filtered-out {
    display: none !important;
}

.portfolio-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    border-color: var(--gold);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.portfolio-item:hover img {
    transform: scale(1.2);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(61, 90, 61, 0.95),
            rgba(85, 107, 47, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
    opacity: 0;
    transition: opacity 0.4s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h5 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.portfolio-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Tools Section */
.tools {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--light), #ffffff);
}

.tool-logo {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border: 2px solid transparent;
}

.tool-logo:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.tool-logo img {
    max-height: 80px;
    max-width: 100%;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background:
        linear-gradient(135deg,
            rgba(61, 90, 61, 0.95) 0%,
            rgba(85, 107, 47, 0.95) 100%),
        url("https://images.unsplash.com/photo-1487958449943-2429e8be8625?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
}

.contact:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at bottom left,
            rgba(212, 175, 55, 0.2),
            transparent 60%);
}

.contact-info {
    margin-bottom: 2.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.contact-info:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.contact-info i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.contact-info h4 {
    margin-bottom: 0.5rem;
    color: white;
}

.contact-info p {
    margin: 0;
    font-size: 1.1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    color: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a1a1a 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 0 2rem;
}

.footer h4,
.footer h5 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 10px;
}

.social-icons a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    margin-right: 10px;
    color: white;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.social-icons a:hover {
    background: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-5px);
    border-color: var(--gold);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary), var(--olive));
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 350px;
    transform: translateX(400px);
    transition: transform 0.5s ease;
    z-index: 9999;
    border: 2px solid var(--gold);
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification i {
    font-size: 1.8rem;
    color: var(--gold);
}

.toast-notification .toast-content {
    flex: 1;
}

.toast-notification .toast-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--gold);
}

.toast-notification .toast-message {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.toast-notification .toast-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-notification .toast-close:hover {
    opacity: 1;
}

/* Pagination Arrows */
.pagination-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-arrow:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.pagination-arrow:disabled {
    background: var(--gray);
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination-arrow.prev-arrow {
    left: -60px;
}

.pagination-arrow.next-arrow {
    right: -60px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero h1 span {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .toast-notification {
        min-width: 300px;
        right: 15px;
    }

    .pagination-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .pagination-arrow.prev-arrow {
        left: -50px;
    }

    .pagination-arrow.next-arrow {
        right: -50px;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.35rem;
    }

    .navbar-brand img.logo {
        height: 40px;
    }

    .hero {
        padding: 10rem 0 6rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h1 span {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-primary,
    .btn-outline-custom {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .toast-notification {
        left: 15px;
        right: 15px;
        min-width: auto;
        width: calc(100% - 30px);
        transform: translateX(100%);
    }

    .pagination-arrow.prev-arrow {
        left: 10px;
    }

    .pagination-arrow.next-arrow {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img.logo {
        height: 35px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h1 span {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .filter-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }

    .toast-notification {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }

    .toast-notification i {
        font-size: 1.5rem;
    }

    .pagination-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}