/* =========================
   ROOT VARIABLES
   ========================= */
:root {
    --white: #ffffff;
    --success: #28a745;
    --success-hover: #218838;
    --transition: all 0.3s ease-in-out;
    --shadow: 0 4px 8px rgba(0,0,0,0.1);
    
}

/* =========================
   TYPOGRAPHY SYSTEM
   ========================= */
* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    line-height: 1.6;
    font-weight: 400;
    color: #222;
    background-color: #fff;
    padding-top: 80px; /* ensures content below fixed header */
}

/* =========================
   HEADINGS
   ========================= */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }

@media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.3rem; }
}

@media (min-width: 1200px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
}

/* =========================
   HEADER & NAVBAR
   ========================= */
header {
    background-color: var(--white) !important;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1100;
    transition: var(--transition);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    color: black;
    height: 80px; /* set to your actual header height */
}

.navbar {
    background-color: #FAF9F6 !important;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.navbar-brand {
    color: var(--success);
    font-weight: 700;
}

.navbar .nav-link {
    color: #000;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: var(--success);
}

/* =========================
   HERO SECTION
   ========================= */
#hero {
    padding: 90px 0 60px; /* top padding to clear fixed header */
    background-image: url('tree-felling-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding-top: 80px; /* same as header height */
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

#hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

#hero-img {
  max-height: 450px;
  object-fit: cover;
  width:100%;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  transform: rotate(-1deg);
}
.hero-section {
  position: relative;
  background: linear-gradient(
      135deg,
      rgba(25,135,84,0.95),
      rgba(20,90,60,0.95)
    ),
    url("img/back.jpg"); /* optional subtle texture */
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-title span {
  color: #e9ffe8;
}
.hero-section .btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}




/* =========================Answering Questions========================= */

/* =========================
   CARDS & SERVICES
   ========================= */
.card {
    border: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-radius: 12px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    color: var(--success);
}

.card-img-top {
    height: 300px; /* uniform card image height */
    object-fit: cover;
}

.service-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* =========================
   BUTTONS
   ========================= */
.btn-success {
    background-color: var(--success);
    border-color: var(--success);
    font-weight: 600;
}

.btn-success:hover {
    background-color: var(--success-hover);
    border-color: #1e7e34;
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.95rem;
    font-weight: 600;
}

/* =========================
   FOOTER
   ========================= */
footer {
    font-size: 0.9rem;
    background-color: #FAF9F6;
    padding: 20px 0;
    text-align: center;
}
.footer-social a {
  color:#1e7e34;
  font-weight: bold;
  font-size: 0.9rem;
  text-decoration: none;
  margin: 0 8px;
}

.footer-social a:hover {
  text-decoration: underline;
}


/* =========================
   IMAGE SECTIONS
   ========================= */
#whyus, #bravocar4 {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* =========================
   WHATSAPP FLOATING BUTTON
   ========================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1200; /* above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.wa-status {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #00c853;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    white-space: nowrap;
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* =========================
   RESPONSIVE ADJUSTMENTS
   ========================= */
@media (max-width: 767px) {
    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.1rem;
    }

    .card-img-top {
        height: 250px;
    }

    .service-img {
        height: 300px;
    }
}
/* Smooth scroll for internal anchors */
html {
  scroll-behavior: smooth;
}
/* Service Card Hover Effects */
.row.align-items-center .col-md-6 img.service-img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.row.align-items-center .col-md-6 img.service-img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

section.container > .row {
  margin-bottom: 60px;
}


/* Contact cards */
.contact-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card i {
  font-size: 2.5rem;
  color: #1e7e34;
}
#whats.card  {
  color: #25D366;
    
}

.contact-card a {
  color: #222;
  font-weight: 500;
  text-decoration: none;
}

.contact-card a:hover {
  color: #198754;
  text-decoration: underline;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
