/* =====================
   THEME COLORS
===================== */
:root {
    --primary-color: #0F5132; /* Premium Emerald Green */
    --primary-hover: #146B46; /* Lighter Emerald for hover */
    --accent-color: #D4AF37;  /* Gold */
    --accent-hover: #b9942c;  /* Darker Gold */
    --light-text: #ffffff;
    --dark-text: #333333;
}

/* =====================
   GLOBAL
===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Lato', sans-serif;
    background: #fff;
    color: var(--dark-text);
    line-height: 1.6;
}
h1, h2 {
    font-family: 'Playfair Display', serif;
}
h1 {
    color: #ffffff;
    text-shadow: 
        -1px -1px 0 #985151,  
         1px -1px 0 #97ca54,
        -1px  1px 0 #000,
         1px  1px 0 #000; /* Creates black outline */
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    color: red;
}
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}
.section {
    padding: 60px 0;
}

.about {
    background: #ffffff;
}
.graphology-section {
    background: #f9f9f9;
}
.services-section {
    background: #ffffff;
}
.reviews-section {
    background: #fffaf3;
}
.contact {
    background: #f5f5f5;
}
footer {
    background: #f8f8f8;
}
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        padding: 10px 15px;
    }

    .logo a {
        flex-direction: row;
    }

    nav {
        width: 100%;
        background: var(--primary-color);
        padding: 10px;
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    nav ul li a {
        width: 100%;
        padding: 8px 0;
    }
}
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr 1fr; /* Two per row */
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }
}
img {
    max-width: 100%;
    height: auto;
}
html {
    scroll-behavior: smooth;
}

/* =====================
   HEADER
===================== */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo img {
    height: 45px;
    margin-right: 10px;
}

.logo a:hover {
    opacity: 0.9;
}

header {
    background: rgb(90, 155, 90);
    color: var(--light-text);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Keep above everything */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    margin-right: 10px;
}

/* Desktop Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* Mobile Styles */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        background: var(--primary-color);
        border-radius: 8px;
        padding: 10px 15px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav.active {
        display: block;
    }

    .menu-toggle {
        display: block;
    }
}

/* Smooth Scroll & Section Offset for fixed header */
html {
    scroll-behavior: smooth;
}
section {
    scroll-margin-top: 80px; /* Adjust to header height */
}
@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%; /* Right under header */
        left: 0;
        width: 100%; /* Full width */
        background: var(--primary-color);
        border-radius: 0;
        padding: 15px 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        z-index: 999;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        padding: 0;
    }

    nav ul li a {
        color: white;
        font-size: 1rem;
        padding: 8px 0;
        text-align: center;
        width: 100%;
        display: block;
    }
}

/* =====================
   HERO
===================== */
#hero {
  background-image: url('BGIMGKIMAYA.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.hero-overlay {
  background-color: rgba(48, 96, 53, 0.8); /* semi-transparent black overlay */
  padding: 50px 20px;
  border-radius: 10px;
  color: #fff;
  width: 100%;
  max-width: 600px;
}

.hero-logo {
  height: 110px;
  margin-bottom: 15px;
}

#hero h1 {
  font-size: 2.5rem;
  margin: 0;
}

.tagline {
  font-size: 1.2rem;
  margin: 10px 0 20px;
}

.btn-primary {
  background: transparent;
  color: yellow;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--accent-color);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--accent-color);
  color: white;
}


/* =====================
   ABOUT
===================== */
.about p {
    max-width: 850px;
    margin: 15px auto;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    text-align: center;
}

:root {
    --primary-color: #006644;
    --accent-color: #D4AF37;
    --light-text: #fff;
}

/* Section Heading */
.services-section h2 {
    text-align: center;
    margin-bottom: 25px;
}

/* Graphology Card */
.graphology-card {
    background: #fff;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}
.graphology-header {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 20px;
    text-align: center;
}
.graphology-header i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}
.graphology-header h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}
.graphology-header p {
    font-size: 0.9rem;
    color: #eaeaea;
}
.graphology-subgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
    background: #fafafa;
}
.sub-item {
    text-align: center;
}
.sub-item i {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}
.sub-item span {
    font-size: 0.9rem;
    color: #333;
}

a button {
    padding: 6px 12px;
    border: none;
    background-color: #629965; /* premium purple */
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

a button:hover {
    background-color: #472d7a;
}

/* General section styling (if not already present) */
.services-section {
    padding: 0px 0;
}

/* Specifically reduce spacing between these two */
#services {
    margin-bottom: 20px; /* Previously too much? Reduce this */
}

#services2 {
    margin-top: 10px; /* Keep small top spacing */
}

.services-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 25px;
    color: red; /* Match your theme (Royal Purple) */
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 boxes per row */
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.service-box {
    width: 170px;
    height: 170px; /* Reduced from 180px */
    border: 1.5px solid #d2b45b;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-box i {
    font-size: 32px;
    margin-bottom: 10px;
    color: #d2b45b;
}

.service-box h4 {
    margin: 0;
    font-size: 16px;
    color: #004c3f;
}

.service-box p {
    font-size: 13px;
    margin-top: 5px;
    color: #333;
}



/* Mobile - Keep 2 per row */
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Apply this to the section wrapper */
.other-services {
    width: 100%;
    overflow-x: hidden;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Apply this to the individual service boxes */
.service-box {
    max-width: 100%;
    word-wrap: break-word;
    box-sizing: border-box;
}

/* =====================
   REVIEWS
===================== */
.review-card {
    background: #fafafa;
    border-left: 4px solid var(--accent-color);
    padding: 15px;
    margin: 15px auto;
    max-width: 700px;
}
.stars {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 5px;
}
.reviewer {
    display: block;
    margin-top: 5px;
    font-style: italic;
    color: #555;
    font-size: 0.9rem;
}

/* =====================
   CONTACT
===================== */
.contact-intro {
    text-align: center;
    color: #555;
    margin-bottom: 25px;
    font-size: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.contact-card {
    background: white;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--dark-text);
    transition: all 0.3s ease;
}
.contact-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}
.contact-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}
.contact-card p {
    font-size: 0.9rem;
    color: #555;
}
.contact-card:hover {
    background: var(--primary-color);
    color: white;
}
.contact-card:hover i,
.contact-card:hover h4,
.contact-card:hover p {
    color: white;
}
.contact-links a {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}
.contact-links a:hover {
    background: var(--accent-color);
}


/* =====================
   WHATSAPP FLOAT
===================== */
.whatsapp-float {
    position: fixed;
    bottom: 50px;
    right: 20px;
    background: #25d366;
    color: var(--light-text);
    font-size: 1.8rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.2s ease-in-out;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}


/* =====================
   FOOTER
===================== */

footer {
    background-color: #224e29; /* Dark premium background */
    color: #f0f0f0; /* Light text for readability */
    text-align: center;
    padding: 20px 0;
    font-size: 0.95rem;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

footer p {
    margin: 6px 0;
}

footer .creator {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: linear-gradient(90deg, #e0c281, #5b3d9c); /* Champagne Gold to Royal Purple */
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

footer .creator:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

footer .creator a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

footer .creator a:hover {
    text-decoration: underline;
    color: #ffe6b3;
}
