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

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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, #ff9900 0%, #ff9900 100%);
    color: white;
    padding: 1rem 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.promo-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.promo-text {
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
}

.promo-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.promo-close:hover {
    transform: scale(1.2);
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #212529 0%, #212529 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 60px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ff9900;
}

.contact-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.contact-header a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-header a:hover {
    color: #ff9900;
    background-color: rgba(255, 107, 53, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ff9900 0%, #ff9900 100%);
    color: white;
    padding: 6rem 20px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 900;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    line-height: 1.5;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background-color: #212529;
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin: 0 0.75rem;
}

.cta-button:hover {
    background-color: #ff9900;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.book-now-btn {
    background-color: #ff9900;
    color: white;
}

.book-now-btn:hover {
    background-color: #212529;
}

/* Trust Elements */
.trust-section {
    background: white;
    padding: 2rem 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: -4rem auto 0;
    position: relative;
    z-index: 10;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.trust-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
    padding: 1rem;
}

.trust-item h3 {
    color: #212529;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.trust-item p {
    color: #666;
    font-size: 1rem;
    font-weight: 700;
}

/* Services Section */
.services {
    max-width: 1200px;
    margin: 6rem auto 4rem;
    padding: 0 20px;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #212529;
    font-weight: 900;
    position: relative;
}

.services h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ff9900;
    margin: 10px auto 0;
    border-radius: 2px;
}

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

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.service-card-header {
    background: linear-gradient(135deg, #ff9900 0%, #ff9900 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.service-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 700;
}

.service-card-body {
    padding: 2rem;
}

.service-card-body p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    font-size: 1rem;
    color: #333;
}

.service-features li {
    padding: 0.75rem 0;
    padding-right: 1.75rem;
    position: relative;
    border-bottom: 1px dashed #eee;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #212529;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials {
    background: #f8f9fa;
    padding: 6rem 20px;
    margin: 4rem 0;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #212529;
    font-weight: 900;
    position: relative;
}

.testimonials h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ff9900;
    margin: 10px auto 0;
    border-radius: 2px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-right: 5px solid #ff9900;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.testimonial-stars {
    color: #ff9900;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    color: #212529;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.testimonial-date {
    color: #999;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    background: #f0f0f0;
    padding: 6rem 20px;
    margin: 4rem 0;
}

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

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #212529;
    font-weight: 900;
    position: relative;
}

.gallery h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ff9900;
    margin: 10px auto 0;
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Local Focus Section */
.local-focus {
    background: linear-gradient(135deg, #212529 0%, #212529 100%);
    color: white;
    padding: 6rem 20px;
    margin: 4rem 0;
}

.local-focus-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.local-focus h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.local-focus p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.usp-item {
    background: rgba(255,255,255,0.15);
    padding: 2.5rem;
    border-radius: 10px;
    border-right: 5px solid #ff9900;
    text-align: right;
}

.usp-item h3 {
    color: #ff9900;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.usp-item p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Maps Section */
.maps-section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 20px;
}

.maps-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #212529;
    font-weight: 900;
    position: relative;
}

.maps-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ff9900;
    margin: 10px auto 0;
    border-radius: 2px;
}

.maps-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 450px;
}

.maps-container iframe {
    border-radius: 15px;
}

/* Contact Form Section */
.contact-section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 20px;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #212529;
    font-weight: 900;
    position: relative;
}

.contact-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ff9900;
    margin: 10px auto 0;
    border-radius: 2px;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #212529;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff9900;
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.g-recaptcha {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, #ff9900 0%, #ff9900 100%);
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.form-submit:hover {
    background: linear-gradient(135deg, #ff9900 0%, #ff9900 100%);
    transform: translateY(-2px);
}

/* Thank You Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 300;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease-in;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 15px;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #ff9900;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.modal-body h2 {
    color: #212529;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.modal-body p {
    color: #555;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.modal-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    font-weight: 600;
}

.modal-button {
    background: linear-gradient(135deg, #ff9900 0%, #ff9900 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.modal-button:hover {
    transform: translateY(-2px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 250;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #1ead4f;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* Footer */
footer {
    background-color: #212529;
    color: #ccc;
    padding: 3rem 20px 1rem;
    font-size: 0.9rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 2rem;
}

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

.footer-section h3 {
    color: #ff9900;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: #ff9900;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .promo-banner {
        padding: 0.75rem 10px;
    }

    .promo-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .promo-text {
        font-size: 0.9rem;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-header {
        justify-content: center;
        width: 100%;
        flex-direction: column;
    }

    .contact-header a {
        width: 100%;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .cta-button {
        display: block;
        margin: 1rem auto;
        width: 80%;
    }

    .trust-section {
        flex-direction: column;
        margin: -2rem auto 0;
    }

    .trust-item {
        min-width: 100%;
    }

    .services h2, .gallery h2, .contact-section h2, .testimonials h2, .maps-section h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .usp-item {
        text-align: center;
        border-right: none;
        border-bottom: 5px solid #ff9900;
    }

    .maps-container {
        height: 300px;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .modal-content {
        width: 95%;
        margin: 20% auto;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .success-icon {
        font-size: 3rem;
    }

    .modal-body h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 15px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin: 0.5rem auto;
    }

    .service-card-header h3 {
        font-size: 1.2rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .promo-text {
        font-size: 0.8rem;
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* --- Custom Enhancements for Professionalism --- */

/* Professional Testimonial Card Styles */
.testimonial-card.professional-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: right;
    border-right: 5px solid #ff9900; /* Accent color on the right - using existing theme color */
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.testimonial-card.professional-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-card.professional-card::before {
    content: '❝';
    font-family: Georgia, serif;
    font-size: 80px;
    color: #f8f9fa; /* Light background color from body */
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 0;
}

.testimonial-text {
    position: relative;
    z-index: 1;
}

.testimonial-stars {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 10px;
    font-size: 1.1rem;
}

/* Professional Developer Card in Footer */
.developer-card {
    background-color: #212529; /* Darker background from header/footer theme */
    padding: 15px 20px;
    border-radius: 8px;
    text-align: right;
    border-right: 3px solid #ff9900; /* Accent color */
    margin: 10px 0;
    flex-grow: 1;
    max-width: 350px;
}

.developer-card p {
    margin: 5px 0;
    color: #ccc;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.developer-card strong {
    color: #ff9900; /* Accent color */
}

.developer-card i {
    margin-right: 10px;
    color: #ff9900; /* Accent color */
}

.footer-email, .footer-phone {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-email:hover, .footer-phone:hover {
    color: #ff9900;
}

/* Responsive adjustment for developer card in footer */
@media (max-width: 992px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }

    .developer-card {
        max-width: 100%;
        text-align: center;
        justify-content: center;
    }

    .developer-card p {
        justify-content: center;
    }
}


/* Custom styles for Modal button */
.back-button {
    display: inline-block;
    background-color: #212529;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.back-button:hover {
    background-color: #ff9900;
    transform: translateY(-3px);
}

.modal-details {
    font-size: 1.1rem;
    color: #555;
    margin-top: 15px;
    font-weight: bold;
}
