/*------------------------------------------------------------------
    IMPORT FILES
-------------------------------------------------------------------*/
@import url(animate.css);
@import url(animate.min.css);
@import url(bootstrap-touch-slider.css);
@import url(flaticon.css);
@import url(timeline.min.css);
@import url(prettyPhoto.css);
@import url(owl.carousel.css);
@import url(font-awesome.min.css);

/*------------------------------------------------------------------
    VARIABLES & THEME
-------------------------------------------------------------------*/
:root {
    --primary-green: #064e3b; /* Deep Emerald */
    --secondary-green: #047857;
    --accent-gold: #d4af37; /* Metallic Gold */
    --accent-gold-light: #f3e5ab;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-cream: #faf9f6;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/*------------------------------------------------------------------
    SKELETON & BASE
-------------------------------------------------------------------*/
body {
    color: var(--text-dark);
    font-size: 15px;
    font-family: var(--font-body);
    line-height: 1.8;
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

a {
    color: var(--primary-green);
    text-decoration: none !important;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-gold);
}

.lead {
    font-size: 18px;
    font-weight: 300;
    color: #555;
    margin-bottom: 30px;
}

/*------------------------------------------------------------------
    PRELOADER (Essential for JS)
-------------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-green);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-container {
    width: 100px;
    height: 100px;
}

.progress-br {
    border: 3px solid var(--accent-gold);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    border-top-color: transparent;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/*------------------------------------------------------------------
    HEADER & NAVIGATION
-------------------------------------------------------------------*/
.top-navbar .bg-light {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-brand img {
    max-height: 60px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.navbar-nav .nav-item .nav-link {
    color: var(--primary-green) !important;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px !important;
    position: relative;
}

.navbar-nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.navbar-nav .nav-item.active .nav-link::after,
.navbar-nav .nav-item:hover .nav-link::after {
    width: 30px;
}

.navbar-toggler {
    border: none;
    outline: none;
}
.navbar-toggler .icon-bar {
    background: var(--primary-green);
    height: 2px;
    width: 25px;
    margin: 5px 0;
    display: block;
}

/*------------------------------------------------------------------
    HERO SLIDER
-------------------------------------------------------------------*/
.first-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.first-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.8), rgba(212, 175, 55, 0.3));
}

.dtab {
    position: relative;
    z-index: 2;
    width: 100%;
}

.big-tagline h2 {
    color: var(--text-light);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.big-tagline h2 strong {
    color: var(--accent-gold);
}

.big-tagline .lead {
    color: rgba(255,255,255,0.9);
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 40px;
}

/*------------------------------------------------------------------
    BUTTONS
-------------------------------------------------------------------*/
.hover-btn-new {
    position: relative;
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--primary-green), var(--secondary-green));
    color: var(--text-light) !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(6, 78, 59, 0.2);
    border: 1px solid var(--accent-gold);
}

.hover-btn-new span {
    position: relative;
    z-index: 2;
}

.hover-btn-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-gold), #f9d877);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.hover-btn-new:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.hover-btn-new:hover {
    color: var(--primary-green) !important;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/*------------------------------------------------------------------
    SECTIONS & TITLES
-------------------------------------------------------------------*/
.section {
    padding: 100px 0;
    background: var(--bg-cream);
}

.section.lb {
    background: #ffffff;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h3 {
    font-size: 3rem;
    color: var(--primary-green);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

.message-box h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.post-media img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border: 5px solid var(--bg-white);
}

/*------------------------------------------------------------------
    PRICING / CARDS
-------------------------------------------------------------------*/
.pricing-table {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-top: 4px solid var(--primary-green);
    margin-top: 30px;
}

.pricing-table:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pricing-table-header h2 {
    color: var(--accent-gold);
    font-size: 3rem;
}

/*------------------------------------------------------------------
    TESTIMONIALS
-------------------------------------------------------------------*/
.testimonial {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 20px;
    border-left: 4px solid var(--accent-gold);
}

.testi-meta h4 {
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 700;
}

/*------------------------------------------------------------------
    FOOTER
-------------------------------------------------------------------*/
.footer {
    background: #032b21; /* Very dark green */
    padding: 80px 0 40px;
    color: rgba(255,255,255,0.7);
}

.footer h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 10px;
    display: inline-block;
}

.footer a {
    color: rgba(255,255,255,0.8);
}

.footer a:hover {
    color: var(--accent-gold);
}

.copyrights {
    background: #011c15;
    padding: 25px 0;
    color: rgba(255,255,255,0.5);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/*------------------------------------------------------------------
    TIMELINE (PRESERVING BASIC LAYOUT)
-------------------------------------------------------------------*/
.timeline {
    position: relative;
    padding: 40px 0;
}
/* Adapting specific classes from before if needed, 
   but allowing the JS plugin to handle structure. 
   Focus on colors: */
.timeline__content {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/*------------------------------------------------------------------
    MODALS / LOGIN
-------------------------------------------------------------------*/
.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    background: var(--primary-green);
    color: white;
    border-bottom: none;
}
.modal-header .close {
    color: white;
    text-shadow: none;
    opacity: 0.8;
}

.nav-tabs .nav-link.active {
    color: var(--primary-green);
    border-color: transparent transparent var(--accent-gold) transparent;
    border-bottom-width: 3px;
    font-weight: 600;
}

.form-control {
    border-radius: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    background: #fdfdfd;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
}

/*------------------------------------------------------------------
    UTILITIES
-------------------------------------------------------------------*/
.text-gold { color: var(--accent-gold) !important; }
.bg-gold { background-color: var(--accent-gold) !important; }
.text-green { color: var(--primary-green) !important; }

/* Responsive Overrides */
@media (max-width: 991px) {
    .top-navbar .navbar-light .navbar-nav .nav-item {
        margin: 0;
    }
    .big-tagline h2 {
        font-size: 2.5rem;
    }
}
