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

/* CSS Variables */
:root {
    /* Mohammadwadi Key Maker brand colors */
    --mkm-primary: #1B4D3E;
    --mkm-secondary: #F4B942;
    --mkm-background: #F8F9FA;
    --mkm-accent: #154332;
    --mkm-light: #C8D3CD;
    
    /* Typography */
    --font-primary: 'Inter', system-ui, sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 1rem;
    --border-radius: 1rem;
    --border-radius-large: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(27, 77, 62, 0.1);
    --shadow-md: 0 4px 6px rgba(27, 77, 62, 0.1);
    --shadow-lg: 0 10px 25px rgba(27, 77, 62, 0.15);
    --shadow-mkm: 0 10px 25px -5px rgba(27, 77, 62, 0.1), 0 10px 10px -5px rgba(27, 77, 62, 0.04);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #1f2937;
    background-color: var(--mkm-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--mkm-accent);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--mkm-secondary);
    color: var(--mkm-accent);
}

.btn-secondary:hover {
    background-color: #f5c962;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--mkm-secondary);
    color: var(--mkm-accent);
}

.btn-whatsapp:hover {
    background-color: var(--mkm-primary);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--mkm-primary);
}

.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn svg {
    margin-right: 0.5rem;
}

/* Responsive utility classes */
.desktop-only {
    display: inline;
}

@media (max-width: 640px) {
    .desktop-only {
        display: none;
    }
}

/* Header */
.header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform var(--transition-normal);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    background-color: var(--mkm-primary);
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: white;
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mkm-primary);
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--mkm-primary) 0%, var(--mkm-accent) 100%);
    color: white;
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text {
    text-align: left;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(244, 185, 66, 0.2);
    color: var(--mkm-secondary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero .highlight {
    color: var(--mkm-secondary);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mkm-secondary);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-glow {
    position: absolute;
    inset: -1rem;
    background: rgba(244, 185, 66, 0.2);
    border-radius: var(--border-radius-large);
    filter: blur(2rem);
}

.hero-image img {
    position: relative;
    z-index: 10;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    height: auto;
    transition: transform var(--transition-normal);
}

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

/* Services Section */
.services {
    padding: var(--section-padding);
    background-color: white;
    position: relative;
}

.services-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--mkm-primary), var(--mkm-secondary), var(--mkm-primary));
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background-color: var(--mkm-light);
    color: var(--mkm-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--mkm-primary);
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: var(--shadow-mkm);
    transform: translateY(-5px);
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.service-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--mkm-primary);
    color: white;
    padding: 0.75rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.service-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mkm-primary);
    margin-bottom: 0.75rem;
}

.service-content p {
    color: #6b7280;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-features span {
    background-color: var(--mkm-background);
    color: var(--mkm-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    border: 1px solid var(--mkm-light);
}

.custom-solution {
    text-align: center;
    background-color: var(--mkm-background);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    border: 2px solid var(--mkm-light);
}

.custom-solution h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mkm-primary);
    margin-bottom: 1rem;
}

.custom-solution p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: linear-gradient(to bottom right, rgba(200, 211, 205, 0.3), transparent);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-shadow {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 100%;
    height: 100%;
    background: rgba(244, 185, 66, 0.2);
    border-radius: var(--border-radius-large);
}

.about-image img {
    position: relative;
    z-index: 10;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    transition: transform var(--transition-normal);
}

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

.about-text .section-badge {
    background: rgba(244, 185, 66, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 2rem;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mkm-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text .highlight {
    color: var(--mkm-secondary);
}

.about-text p {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    text-align: center;
    background-color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--mkm-primary);
}

.stat-card:nth-child(2) .stat-number {
    color: var(--mkm-secondary);
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.mission {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--mkm-light);
}

.mission h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mkm-primary);
    margin-bottom: 0.75rem;
}

.mission p {
    color: #6b7280;
    margin: 0;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: var(--section-padding);
    background-color: white;
    position: relative;
    overflow: hidden;
}

.decorative-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(3rem);
}

.decorative-bg-1 {
    top: 0;
    left: 25%;
    width: 16rem;
    height: 16rem;
    background: rgba(244, 185, 66, 0.05);
}

.decorative-bg-2 {
    bottom: 0;
    right: 25%;
    width: 24rem;
    height: 24rem;
    background: rgba(27, 77, 62, 0.05);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.advantage-card {
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f3f4f6;
    transition: var(--transition-normal);
}

.advantage-card:hover {
    box-shadow: var(--shadow-mkm);
    transform: translateY(-5px);
}

.advantage-icon {
    width: 5rem;
    height: 5rem;
    border-radius: var(--border-radius-large);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    transition: transform var(--transition-normal);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

.gradient-primary {
    background: linear-gradient(to bottom right, var(--mkm-primary), var(--mkm-accent));
}

.gradient-secondary {
    background: linear-gradient(to bottom right, var(--mkm-secondary), #f5c962);
}

.advantage-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mkm-primary);
    margin-bottom: 1rem;
}

.advantage-card p {
    color: #6b7280;
}

.cta-banner {
    background: linear-gradient(to right, var(--mkm-primary), var(--mkm-accent));
    color: white;
    padding: 3rem;
    border-radius: 0rem;
    text-align: center;
}

.cta-banner h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background: linear-gradient(to bottom right, rgba(27, 77, 62, 0.05) 0%, transparent 50%, rgba(244, 185, 66, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.section-header .section-badge {
    background-color: white;
    box-shadow: var(--shadow-sm);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-mkm);
    transform: translateY(-3px);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stars {
    color: var(--mkm-secondary);
    font-size: 1.25rem;
}

.service-tag {
    background-color: var(--mkm-light);
    color: var(--mkm-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.testimonial-card blockquote {
    font-size: 1.125rem;
    color: #4b5563;
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.author-avatar {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(to bottom right, var(--mkm-primary), var(--mkm-accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    margin-right: 1rem;
    box-shadow: var(--shadow-lg);
}

.author-name {
    font-weight: 700;
    color: var(--mkm-primary);
    font-size: 1.125rem;
}

.author-location {
    color: #6b7280;
    font-weight: 500;
}

.customer-stats {
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-sm);
}

.customer-stats h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mkm-primary);
    margin-bottom: 1rem;
}

.customer-stats p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-text {
    color: var(--mkm-primary);
    font-weight: 700;
}

.divider {
    color: #6b7280;
}

.customer-count {
    color: var(--mkm-primary);
    font-weight: 700;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom right, var(--mkm-primary) 0%, var(--mkm-accent) 50%, var(--mkm-primary) 100%);
    color: white;
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(244, 185, 66, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
    filter: blur(3rem);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 10;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    background-color: var(--mkm-secondary);
    color: var(--mkm-accent);
    padding: 0.75rem;
    border-radius: 0.75rem;
}

.footer-logo-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo-text p {
    color: var(--mkm-secondary);
    font-weight: 600;
    margin: 0;
}

.footer-company p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-item svg {
    color: var(--mkm-secondary);
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--mkm-secondary);
}

.footer-section h3 {
    color: var(--mkm-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
    cursor: pointer;
}

.footer-section li:hover {
    color: white;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.faq-item strong {
    display: block;
    color: white;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-credentials p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-credentials strong {
    color: white;
}

.footer-credentials strong:nth-child(2) {
    color: var(--mkm-secondary);
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.powered-by {
    font-size: 0.875rem;
    color: var(--mkm-secondary);
    font-weight: 600;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-button a:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-image {
        order: 2;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-row {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .whatsapp-button {
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-button a {
        width: 3.5rem;
        height: 3.5rem;
    }
}

.cta-banner {
  width: 100%;
  padding: 60px 20px;
  background: #0d3b2e; /* or your brand color */
  text-align: center;
}

.cta-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cta-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Responsive: stack buttons vertically on mobile */
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .cta-buttons a {
    width: 100%;
    max-width: 300px; /* optional, keeps buttons neat */
  }
}

.cta-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* space between icon and text */
  text-decoration: none;
}

.cta-buttons svg {
  flex-shrink: 0; /* prevents icon from shrinking */
}

.cta-banner {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 1px;
  border-bottom-right-radius: 1px;
}

