/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Color Scheme */
:root {
    --primary-color: #4A7023; /* Deep green */
    --secondary-color: #A67B5B; /* Earthy brown */
    --accent-color: #E1C699; /* Sand-like beige */
    --text-light: #9b8b8b;
    --text-dark: #333;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(43, 194, 63, 0.9); /* Safari dark theme */
    padding: 15px 30px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Logo */
.logo img {
    width: 60px;
    height: auto;
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* Navigation Links */
.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: rgb(20, 11, 11);
    font-size: 18px;
    font-weight: bold;
    padding: 10px 15px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #f5a623; /* Safari gold */
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: rgba(34, 49, 63, 0.95);
    list-style: none;
    padding: 10px 0;
    border-radius: 5px;
    width: 200px;
    top: 100%;
    left: 0;
}

.dropdown-menu li {
    padding: 10px;
    text-align: left;
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    color: rgb(133, 59, 59);
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background-color: #f5a623;
}

/* Show Dropdown on Hover (Desktop) */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Hamburger Menu (Hidden on Large Screens) */
.hamburger {
    font-size: 30px;
    color: rgb(58, 21, 21);
    cursor: pointer;
    display: none;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        background-color: rgba(34, 49, 63, 0.95);
        position: absolute;
        top: 60px;
        right: 0;
        width: 250px;
        text-align: left;
        padding: 20px;
        border-radius: 10px;
    }

    .nav-menu.active {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
    }

    .dropdown-menu a {
        padding-left: 20px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hamburger {
        display: block;
    }
}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    padding-left: 50px;
    color: var(--text-light);
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
}

.overlay h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.overlay p {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    .hero {
        justify-content: center;
        padding-left: 0;
        text-align: center;
    }
}
/* Full-page section with background */
.card-section {
    height: 100vh; 
    background: url('assets/back.avif') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    text-align: center;
}

/* Title & Logo Styling */
.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.card-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #f5a623; /* Safari-themed color */
    text-transform: uppercase;
}

.logo-left, .logo-right {
    width: 50px;
    height: 50px;
}

/* Introduction Text */
.intro-text {
    max-width: 700px;
    font-size: 18px;
    margin-bottom: 30px;
    color: white;
}

/* Card container */
.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 90%;
    margin: auto;
}

/* Card Styling */
.card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.card img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}

.card:hover img {
    transform: scale(1.1);
}

/* Overlay text */
.card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-header h2 {
        font-size: 24px;
    }

    .logo-left, .logo-right {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .card-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .card-header {
        flex-direction: column;
    }

    .logo-left, .logo-right {
        display: none; /* Hide logos on very small screens */
    }
}

/* Unified Why Choose Us & Services Section */
.why-services-section {
    height: 100vh; /* Full-page height */
    background: url('assets/back2.avif') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    text-align: center;
}

.why-services-section h2 {
    font-size: 32px;
    color: var(--text-light);
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 10px;
}

/* Card container */
.why-services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 per row */
    gap: 20px;
    max-width: 90%;
    margin: auto;
}

/* Unique Card Styling */
.why-services-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.why-services-card:hover {
    transform: translateY(-5px);
}

/* Icon Styling */
.why-services-icon {
    font-size: 40px;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

/* Text Styling */
.why-services-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.why-services-card p {
    font-size: 16px;
    color: var(--text-dark);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .why-services-container {
        grid-template-columns: repeat(2, 1fr); /* 2 per row */
    }
}

@media (max-width: 480px) {
    .why-services-container {
        grid-template-columns: repeat(1, 1fr); /* 1 per row */
    }
}
/* Footer Styling */
.site-footer {
    background: #1a1a1a; /* Dark background */
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1100px;
    margin: auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #f4a261; /* Safari-style color */
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #f4a261;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    color: #ffffff;
    font-size: 20px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #f4a261;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
}
