/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    color: #0F5132;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    text-decoration: none;
    color: #0F5132;
    transition: color 0.3s ease;
}

a:hover {
    color: #198754;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #0F5132;
    color: white;
    box-shadow: 0 4px 12px rgba(15, 81, 50, 0.3);
}

.btn-primary:hover {
    background-color: #198754;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 81, 50, 0.4);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: #0F5132;
    border: 2px solid #0F5132;
}

.btn-secondary:hover {
    background-color: #0F5132;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo a {
    color: #0F5132;
    font-weight: 700;
}

.nav-logo h2 {
    margin: 0;
    font-size: 1.5rem;
}

.nav-logo span {
    font-size: 0.9rem;
    color: #C9A227;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: #f6eedf;
    color: #0F5132;
}

.cta-phone {
    background-color: #0F5132;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.cta-phone:hover {
    background-color: #198754;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #0F5132;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f6eedf 0%, #ffffff 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    color: #0F5132;
    margin-bottom: 1rem;
    font-size: 3rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #C9A227;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #0F5132;
}

.feature-icon {
    font-size: 1.2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #f0f0f0;
}

.hero-card h3 {
    color: #0F5132;
    margin-bottom: 0.5rem;
}

.hero-card p {
    color: #C9A227;
    font-weight: 600;
    margin-bottom: 1rem;
}

.rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #C9A227;
    font-size: 1.2rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    color: #0F5132;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: #C9A227;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #0F5132;
}

/* Brands Section */
.brands {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.brand-item {
    background: white;
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    color: #0F5132;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: #0F5132;
    margin-bottom: 1rem;
}

/* Service Areas Section */
.service-areas {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.area-column {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.area-column h4 {
    color: #0F5132;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #C9A227;
}

.area-column ul {
    list-style: none;
}

.area-column li {
    margin-bottom: 0.5rem;
}

.area-column a {
    color: #555;
    padding: 0.25rem 0;
    display: block;
    transition: color 0.3s ease;
}

.area-column a:hover {
    color: #0F5132;
    padding-left: 0.5rem;
}

.areas-cta {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0F5132 0%, #198754 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    color: #f0f8ff;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background-color: #C9A227;
    color: #0F5132;
    font-weight: 700;
}

.cta-buttons .btn-primary:hover {
    background-color: #ffffff;
    color: #0F5132;
}

.cta-buttons .btn-secondary {
    border-color: white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background-color: white;
    color: #0F5132;
}

.cta-note {
    color: #f0f8ff;
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
.footer {
    background-color: #0B0B0B;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #C9A227;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #C9A227;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .services,
    .why-choose-us,
    .service-areas,
    .cta-section {
        padding: 60px 0;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0F5132;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Browse Services Section */
.browse-services {
    padding: 80px 0;
    background: #f8f9fa;
}

.browse-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 2px solid #0F5132;
    color: #0F5132;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 16px;
}

.tab-btn:hover,
.tab-btn.active {
    background: #0F5132;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(15, 81, 50, 0.3);
}

.tab-content {
    min-height: 500px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Service Directory Styles */
.service-directory {
    display: grid;
    gap: 30px;
}

.directory-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.directory-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.directory-header h3 {
    color: #0F5132;
    margin-bottom: 10px;
    font-size: 24px;
}

.directory-header p {
    color: #666;
    margin-bottom: 20px;
}

.directory-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-link {
    background: linear-gradient(135deg, #0F5132 0%, #198754 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.main-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 81, 50, 0.3);
    color: white;
}

.sub-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.sub-links a {
    background: #f8f9fa;
    color: #0F5132;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.sub-links a:hover {
    background: #0F5132;
    color: white;
    transform: translateY(-1px);
}

/* Brands Directory Styles */
.brands-directory {
    padding: 20px 0;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.brand-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.brand-card h4 {
    color: #0F5132;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 700;
}

.brand-services {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brand-services a {
    background: #f8f9fa;
    color: #0F5132;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.brand-services a:hover {
    background: #0F5132;
    color: white;
    transform: translateY(-2px);
}

/* Locations Directory Styles */
.locations-directory {
    padding: 20px 0;
}

.location-search {
    margin-bottom: 30px;
    text-align: center;
}

.location-search-input {
    width: 100%;
    max-width: 400px;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.location-search-input:focus {
    border-color: #0F5132;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.location-group {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.location-group h4 {
    color: #0F5132;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.location-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-links a {
    background: #f8f9fa;
    color: #0F5132;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.location-links a:hover {
    background: #0F5132;
    color: white;
    transform: translateX(5px);
}

/* Responsive Design for Browse Services */
@media (max-width: 768px) {
    .browse-services {
        padding: 60px 0;
    }
    
    .tab-buttons {
        gap: 10px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .directory-item {
        padding: 20px;
    }
    
    .directory-header h3 {
        font-size: 20px;
    }
    
    .main-link {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .sub-links {
        grid-template-columns: 1fr;
    }
    
    .brand-grid {
        grid-template-columns: 1fr;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
}

/* Fixed Mobile CTA Call Button - Islamic Design Principles */
.fixed-cta-mobile {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
    background: linear-gradient(135deg, #0F5132 0%, #198754 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(15, 81, 50, 0.4);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #C9A227;
    animation: pulse 2s infinite;
}

.fixed-cta-mobile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(15, 81, 50, 0.5);
    color: white;
}

.fixed-cta-mobile .phone-icon {
    margin-right: 8px;
    font-size: 18px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(15, 81, 50, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(15, 81, 50, 0.6), 0 0 0 10px rgba(15, 81, 50, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(15, 81, 50, 0.4);
    }
}

/* Show fixed CTA on mobile devices */
@media (max-width: 768px) {
    .fixed-cta-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 160px;
    }
    
    /* Hide regular CTA phone in nav on mobile when fixed button is shown */
    .nav-menu .cta-phone {
        display: none;
    }
}

/* Enhanced Mobile-First Responsive Design */
@media (max-width: 480px) {
    .fixed-cta-mobile {
        bottom: 15px;
        right: 15px;
        padding: 14px 18px;
        font-size: 15px;
        min-width: 150px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* Improve touch targets for mobile */
    .btn {
        min-height: 48px;
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .nav-link {
        min-height: 48px;
        padding: 12px 16px;
    }
    
    /* Better mobile typography following Islamic design */
    h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Improved mobile spacing */
    .hero {
        padding: 100px 0 50px;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Enhanced Tablet Responsive Design */
@media (min-width: 481px) and (max-width: 768px) {
    .fixed-cta-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        bottom: 25px;
        right: 25px;
        padding: 16px 24px;
        font-size: 16px;
        min-width: 170px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Large Mobile/Small Tablet Optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .fixed-cta-mobile {
        animation: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .fixed-cta-mobile {
        border: 3px solid #C9A227;
        background: #0F5132;
    }
    
    .btn-primary {
        border: 2px solid #C9A227;
    }
}

/* Dark Mode Support (for system preference) */
@media (prefers-color-scheme: dark) {
    .fixed-cta-mobile {
        background: linear-gradient(135deg, #198754 0%, #0F5132 100%);
        border-color: #C9A227;
    }
}

/* Print Styles */
@media print {
    .fixed-cta-mobile,
    .header,
    .cta-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
}

/* Focus Styles for Better Accessibility */
.fixed-cta-mobile:focus,
.btn:focus,
.nav-link:focus {
    outline: 3px solid #C9A227;
    outline-offset: 2px;
}

/* Improved Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(246, 238, 223, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f6eedf;
    border-top: 4px solid #0F5132;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Smooth Scrolling Enhancement */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Better Form Styling for Mobile */
input, textarea, select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #0F5132;
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 81, 50, 0.1);
}

/* Islamic Design Enhancement - Subtle Patterns */
.hero {
    background: linear-gradient(135deg, #f6eedf 0%, #ffffff 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(201, 162, 39, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Enhanced Button Interactions */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Improved Card Hover Effects */
.service-card,
.feature-card,
.brand-card {
    position: relative;
    overflow: hidden;
}

.service-card::before,
.feature-card::before,
.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 81, 50, 0.05) 0%, rgba(201, 162, 39, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before,
.feature-card:hover::before,
.brand-card:hover::before {
    opacity: 1;
}

/* Scroll to Top Button - Islamic Design Principles */
.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0F5132 0%, #198754 100%);
    color: white;
    border: 2px solid #C9A227;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 81, 50, 0.3);
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #198754 0%, #0F5132 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 81, 50, 0.4);
    color: white;
    border-color: #C9A227;
}

.scroll-to-top:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(15, 81, 50, 0.3);
}

/* Scroll to top icon */
.scroll-to-top::before {
    content: '↑';
    font-size: 18px;
    line-height: 1;
}

/* Alternative arrow using CSS */
.scroll-to-top.arrow-style::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid white;
    font-size: 0;
}

/* Mobile positioning adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 100px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .scroll-to-top::before {
        font-size: 16px;
    }
    
    .scroll-to-top.arrow-style::before {
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 7px solid white;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 90px;
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    
    .scroll-to-top::before {
        font-size: 14px;
    }
    
    .scroll-to-top.arrow-style::before {
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-bottom: 6px solid white;
    }
}

/* Accessibility improvements for scroll to top */
.scroll-to-top:focus {
    outline: 3px solid #C9A227;
    outline-offset: 2px;
}

/* Animation for scroll to top appearance */
@keyframes scrollTopFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.scroll-to-top.visible {
    animation: scrollTopFadeIn 0.3s ease-out;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .scroll-to-top {
        transition: opacity 0.1s ease;
        animation: none;
    }
    
    .scroll-to-top.visible {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .scroll-to-top {
        border: 3px solid #C9A227;
        background: #0F5132;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .scroll-to-top {
        background: linear-gradient(135deg, #198754 0%, #0F5132 100%);
        border-color: #C9A227;
    }
}