@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* CSS Variables */
:root {
    --color-primary: #004d00;
    --color-dark: #000000;
    --color-light: #ecf9dc;
    --color-white: #ffffff;
    --color-card-bg: #222;
    --color-border: #ddd;
    
    --spacing-xs: 10px;
    --spacing-sm: 15px;
    --spacing-md: 20px;
    --spacing-lg: 32px;
    --spacing-xl: 40px;
    
    --border-radius: 0px;
    --border-radius-sm: 5px;
    --border-radius-md: 14px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.8);
    
    --gradient-primary: linear-gradient(to bottom, #000000, #004d00);
}

/* CSS Reset for better consistency */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Main body styles */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-white);
    background: var(--color-white);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Image responsiveness */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header styles */
header {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0;
    text-align: center;
}

.header-content {
    width: 96%;
    margin: 30px auto;
    max-width: 1500px;
}

/* Navigation styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gradient-primary);
    padding: 0 var(--spacing-xl);
    min-height: 70px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    gap: var(--spacing-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-img {
    height: 38px;
    width: auto;
    transition: transform var(--transition-fast);
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-light);
    letter-spacing: 1px;
}

/* Hamburger menu button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    z-index: 1001;
    transition: transform var(--transition-fast);
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle:active {
    transform: scale(0.95);
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--color-light);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* Hamburger animation when active */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 27px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--color-light);
    text-decoration: none;
    font-size: 1.09rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

/* Improved hover effect with underline animation */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-light);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-links a:hover {
    background: rgba(236, 249, 220, 0.15);
    color: var(--color-white);
}

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

.nav-actions {
    display: none;
    align-items: center;
    gap: 18px;
}

/* Main content styles */
main {
    width: 80%;
    margin: var(--spacing-md) auto;
    max-width: 1200px;
    flex: 1;
}

/* Card styles with improved hover effect */
.card {
    background-color: var(--color-card-bg);
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-md);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Container styles */
.container {
    max-width: 600px;
    margin: var(--spacing-md) auto;
    text-align: center;
}

/* Section Styles */
section {
    background: #004d00;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

/* Headings with improved hierarchy */
h2, h3 {
    background-color: transparent;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: var(--spacing-xs);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-md);
    text-align: center;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

/* Description and Price Styling */
p {
    background-color: transparent;
    color: var(--color-white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    border-left: 3px solid var(--color-primary);
    padding: var(--spacing-xs);
    margin: var(--spacing-xs) 0;
}

/* Footer styles */
footer {
  background: var(--gradient-primary);
  color: #fff;
  padding: 2rem 1rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-section h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: #ffffff;
}

.footer-section p {
  margin: 0;
}
.footer-section a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
/* Service cards */
.service {
    background-color: var(--color-card-bg);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
/* Hero Section */
#hero {
    background: #004d00;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    border: none;
    box-shadow: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 40px;
    min-height: 600px;
}

.hero-text {
    padding-right: 20px;
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-light);
    margin-bottom: 20px;
    border-left: none;
    text-shadow: none;
    padding: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-light);
    margin-bottom: 20px;
    border-left: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    padding: 0;
}

.hero-button {
    display: inline-block;
    padding: 16px 40px;
    background-color: transparent;
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid var(--color-white);
    border-radius: 50px;
    transition: all var(--transition-normal);
    margin-top: 20px;
}

.hero-button:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
/* New Service Cards Section Styles */
#services-section {
    padding: 60px 20px;
    background: #1C1C1C;
    border: none;
    margin-bottom: 20px;
    margin-top: 0;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.service-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon-container {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    background: #3b3b3b;
}

.card-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.fill-image .card-icon {
    object-fit: cover;
}

.card-content {
    padding: 30px;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    text-shadow: none;
}

.card-description {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    text-shadow: none;
    border-left: none;
    padding: 0;
    margin: 0;
}

/* Services list styling */
.services-list {
    list-style: none;
    padding: 0;
}

/* Focus styles for accessibility */
a:focus, button:focus {
    outline: 2px solid var(--color-light);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Tablet breakpoint */
@media only screen and (max-width: 768px) {
    .header-content, main, .container {
        width: 95%;
        margin: 0 auto;
    }
    
    /* Mobile Navigation */
    .navbar {
        padding: var(--spacing-xs) var(--spacing-md);
        flex-wrap: wrap;
        justify-content: space-between;
        min-height: auto;
    }
    
    .menu-toggle {
        display: flex;
        order: 3;
        margin: 0;
        padding: var(--spacing-xs);
    }
    
    .nav-logo {
        order: 1;
        flex: 1;
        margin: 0;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        background: transparent;
        align-items: stretch;
        order: 4;
        animation: slideDown var(--transition-normal);
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .nav-links a {
        display: block;
        padding: var(--spacing-md);
        width: 100%;
        border-radius: 0;
        text-align: center;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-actions {
        display: none !important;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .card, section, .service {
        padding: var(--spacing-md);
    }
    
    /* Service Cards Tablet Styles */
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .services-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    #services-section {
        padding: 40px 15px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-icon-container {
        height: 150px;
        font-size: 60px;
    }
}

/* Mobile phone breakpoint */
@media only screen and (max-width: 480px) {
    .header-content, main, .container {
        width: 100%;
        padding: 0 var(--spacing-xs);
    }
    
    .navbar {
        padding: 0 var(--spacing-sm);
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .card, section, .service {
        padding: var(--spacing-sm);
    }
    
    /* Service Cards Small Mobile Styles */
    .services-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    #services-section {
        padding: 30px 10px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-description {
        font-size: 14px;
    }
    
    .card-icon-container {
        height: 120px;
        font-size: 50px;
    }
        /* Hero Section Small Mobile Styles */
    .hero-container {
        padding: 40px 15px;
        gap: 25px;
    }
    
    .hero-tagline {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .hero-button {
        padding: 12px 28px;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }
    
    .hero-image img {
        max-height: 300px;
    }
}
