/*
Theme Name: Akhuwat Style Theme
Theme URI: https://yourwebsite.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: A clean, green-themed WordPress theme inspired by Akhuwat's design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: akhuwat-theme
*/

:root {
  --akhuwat-lime: #8BC34A;
  --akhuwat-green: #43A047;
  --akhuwat-teal: #00695C;
  --akhuwat-deep: #004D40;
  --akhuwat-white: #FFFFFF;
  --akhuwat-light-gray: #F5F5F5;
  --akhuwat-dark: #212121;
  --akhuwat-muted: #757575;
  --akhuwat-border: #E0E0E0;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Open Sans', 'Segoe UI', 'Roboto', sans-serif;
  --section-padding: 80px 0;
  --container-max: 1200px;
  --container-padding: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--akhuwat-dark);
  background-color: var(--akhuwat-white);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.navbar {
  background: var(--akhuwat-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--akhuwat-dark);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-links a {
  text-decoration: none;
  color: var(--akhuwat-dark);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover { color: var(--akhuwat-green); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--akhuwat-green);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--akhuwat-dark);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--akhuwat-green);
  color: var(--akhuwat-white);
}

.btn-primary:hover {
  background: var(--akhuwat-teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(67, 160, 71, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--akhuwat-green);
  border: 2px solid var(--akhuwat-green);
}

.btn-outline:hover {
  background: var(--akhuwat-green);
  color: var(--akhuwat-white);
}

.hero {
  background: linear-gradient(135deg, var(--akhuwat-deep) 0%, var(--akhuwat-teal) 100%);
  color: var(--akhuwat-white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 35px;
  line-height: 1.8;
}

.section { padding: var(--section-padding); }
.section-light { background: var(--akhuwat-light-gray); }
.section-dark { background: var(--akhuwat-deep); color: var(--akhuwat-white); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--akhuwat-teal);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--akhuwat-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--akhuwat-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--akhuwat-light-gray);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body { padding: 30px; }

.card-body h3 {
  font-size: 22px;
  color: var(--akhuwat-teal);
  margin-bottom: 12px;
}

.card-body h3 a {
  color: var(--akhuwat-teal);
  text-decoration: none;
}

.card-body p {
  color: var(--akhuwat-muted);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature-box {
  text-align: center;
  padding: 30px;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--akhuwat-lime), var(--akhuwat-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 28px;
}

.feature-box h3 {
  font-size: 20px;
  color: var(--akhuwat-teal);
  margin-bottom: 10px;
}

.feature-box p {
  color: var(--akhuwat-muted);
  font-size: 15px;
}

.newsletter {
  background: var(--akhuwat-light-gray);
  padding: 60px 0;
  text-align: center;
}

.newsletter h3 {
  font-size: 28px;
  color: var(--akhuwat-teal);
  margin-bottom: 10px;
}

.newsletter p {
  color: var(--akhuwat-muted);
  margin-bottom: 25px;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 24px;
  border: 2px solid var(--akhuwat-border);
  border-radius: 50px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input:focus {
  border-color: var(--akhuwat-green);
}

.footer {
  background: var(--akhuwat-dark);
  color: var(--akhuwat-white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  color: var(--akhuwat-white);
  margin-bottom: 15px;
  display: inline-block;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  font-size: 14px;
}

.footer-links h4 {
  color: var(--akhuwat-lime);
  font-size: 16px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--akhuwat-lime); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .hero h1 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .section-header h2 { font-size: 28px; }
}
/* ===== HERO SECTION ===== */
.mehwar-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mehwar-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.mehwar-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff !important;
    max-width: 800px;
    padding: 0 20px;
}

.mehwar-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.mehwar-hero-content p {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #ffffff !important;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.mehwar-hero-btn {
    display: inline-block;
    background-color: #6ab04c;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
}

.mehwar-hero-btn:hover {
    background-color: #5a9e3d;
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
    .mehwar-hero {
        height: 70vh;
        min-height: 400px;
    }
    .mehwar-hero-content h1 {
        font-size: 32px;
    }
    .mehwar-hero-content p {
        font-size: 16px;
    }
}