/* ===============================================
   GREENMARTE INTERNATIONAL - CUSTOM STYLES
   =============================================== */

/* ============= GLOBAL STYLES ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* ============= NAVBAR STYLES ============= */
.navbar {
    background: linear-gradient(135deg, #0f5132 0%, #198754 100%) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background: linear-gradient(135deg, #0d3d24 0%, #146c43 100%) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* ============= HERO SECTION ============= */
.hero {
    background: linear-gradient(135deg, rgba(15, 81, 50, 0.95) 0%, rgba(25, 135, 84, 0.85) 100%),
        url("https://images.unsplash.com/photo-1581092160607-ee22621dd758");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
    position: relative;
    z-index: 1;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(25, 135, 84, 0.6);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============= SECTION STYLES ============= */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 60px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #198754 0%, transparent 100%);
    bottom: -10px;
    left: 0;
}

/* ============= STATS SECTION ============= */
.stats-section {
    background: linear-gradient(135deg, #0f5132 0%, #198754 100%);
    color: white;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
}

/* ============= ICON BOXES ============= */
.icon-box {
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(25, 135, 84, 0.1), transparent);
    transition: left 0.5s ease;
}

.icon-box:hover::before {
    left: 100%;
}

.icon-box:hover {
    transform: translateY(-10px);
    border-color: #198754;
    box-shadow: 0 15px 40px rgba(25, 135, 84, 0.2) !important;
}

.icon-box i {
    font-size: 50px;
    color: #198754;
    transition: all 0.3s ease;
}

.icon-box:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* ============= CARD STYLES ============= */
.card {
    border: none;
    transition: all 0.4s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

.card img {
    transition: transform 0.5s ease;
    height: 250px;
    object-fit: cover;
}

.card:hover img {
    transform: scale(1.1);
}

.card-body {
    padding: 25px;
}

.card-title {
    font-weight: 600;
    color: #0f5132;
}

/* ============= FORM STYLES ============= */
.form-control {
    border: 2px solid #e0e0e0;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.15);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

/* ============= BUTTON STYLES ============= */
.btn-success {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #146c43 0%, #0f5132 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

.btn-outline-success {
    border: 2px solid #198754;
    color: #198754;
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    background: #198754;
    color: white;
    transform: translateY(-2px);
}

/* ============= FOOTER STYLES ============= */
footer {
    background: linear-gradient(135deg, #0d3d24 0%, #0f5132 100%);
    color: #fff;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: #fff !important;
    padding-left: 5px;
}

/* ============= SCROLL TO TOP BUTTON ============= */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #198754;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(25, 135, 84, 0.4);
}

.scroll-top.show {
    opacity: 1;
}

.scroll-top:hover {
    background: #146c43;
    transform: translateY(-5px);
}

/* ============= ABOUT SECTION ENHANCEMENTS ============= */
#about img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

#about img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ============= CONTACT SECTION ENHANCEMENTS ============= */
#contact .bg-white {
    transition: all 0.3s ease;
}

#contact .bg-white:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

#contact i {
    transition: all 0.3s ease;
}

#contact .d-flex:hover i {
    transform: scale(1.1);
    color: #146c43 !important;
}

/* ============= SOCIAL MEDIA BUTTONS ============= */
.btn-outline-success.rounded-circle {
    transition: all 0.3s ease;
}

.btn-outline-success.rounded-circle:hover {
    background: #198754;
    color: white;
    transform: translateY(-3px) rotate(360deg);
}

/* ============= RESPONSIVE STYLES ============= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .icon-box {
        margin-bottom: 20px;
    }

    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ============= UTILITY CLASSES ============= */
.text-muted {
    color: #6c757d !important;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

/* ============= ANIMATION DELAYS ============= */
.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============= SMOOTH TRANSITIONS ============= */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============= CUSTOM SCROLLBAR ============= */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #198754;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #146c43;
}