:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo span:first-child {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span:last-child {
    font-size: 0.8rem;
    font-weight: normal;
    margin-top: 2px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.nav-phone {
    background-color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s;
}

.nav-phone:hover {
    background-color: #2980b9;
    color: white;
}

.nav-phone i {
    margin-right: 5px;
}

/* Login Button in Navigation */
.nav-login {
    background-color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s;
}

.nav-login:hover {
    background-color: #c0392b;
    color: white;
}

.nav-login i {
    margin-right: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1581094794329-c8112c4e2e0f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 2rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #2980b9;
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Feedback Form */
.feedback {
    padding: 5rem 2rem;
    background-color: white;
}

.feedback-container {
    max-width: 800px;
    margin: 0 auto;
}

.feedback-form {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    margin: 1rem 0;
}

.social-links a {
    color: white;
    margin: 0 1rem;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Carousel Styles */
.carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.carousel-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 3;
    transition: background-color 0.3s;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

/* Why Choose Us Section */
.why-us {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.why-us-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-us-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.why-us-card:hover {
    transform: translateY(-5px);
}

.why-us-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Reviews Section */
.reviews {
    padding: 5rem 2rem;
    background-color: white;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-carousel {
    display: flex;
    overflow: hidden;
    position: relative;
    margin: 3rem 0;
}

.review-card {
    min-width: 100%;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.5s ease-in-out;
}

.review-rating {
    color: #ffd700;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: bold;
    color: var(--primary-color);
}

.carousel-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #bbb;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--secondary-color);
}

/* Enhanced Footer */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-section p i {
    margin-right: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .carousel-content h1 {
        font-size: 2rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .why-us-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .reviews-carousel {
        margin: 2rem 0;
    }
}

/* Service Request Form */
.service-request {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.service-request-container {
    max-width: 800px;
    margin: 0 auto;
}

.service-request-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.required {
    color: var(--accent-color);
    margin-left: 4px;
}

/* File Upload Styles */
.file-upload {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 5px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
}

.file-upload:hover {
    border-color: var(--secondary-color);
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-info {
    color: #666;
}

.file-upload-info i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.file-types {
    font-size: 0.9rem;
    color: #999;
    margin-top: 0.5rem;
}

.file-list {
    margin-top: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.file-item i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.file-item-name {
    flex-grow: 1;
    font-size: 0.9rem;
}

.file-item-remove {
    color: var(--accent-color);
    cursor: pointer;
    padding: 0.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    text-align: center;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: scale(0.9);}
    to {opacity: 1; transform: scale(1);}
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.modal-body i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.modal-body h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-body p {
    color: #666;
    margin-bottom: 2rem;
}

.modal-button {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.modal-button:hover {
    background-color: #2980b9;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .service-request-form {
        padding: 1.5rem;
    }

    .file-upload {
        padding: 1.5rem;
    }

    .modal-content {
        width: 95%;
        margin: 30% auto;
    }
}

.image-attribution {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    z-index: 2;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .carousel-content h1 {
        font-size: 2rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .why-us-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .reviews-carousel {
        margin: 2rem 0;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 1200px) {
    .nav-container,
    .services-container,
    .why-us-container,
    .reviews-container,
    .feedback-container,
    .service-request-container,
    .footer-content {
        padding: 0 1rem;
    }
}

@media (max-width: 992px) {
    .carousel-content h1 {
        font-size: 2.5rem;
    }

    .carousel-content p {
        font-size: 1.1rem;
    }

    .services-grid,
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Header and Navigation */
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0.5rem;
    }

    .nav-phone {
        margin-top: 0.5rem;
    }

    /* Carousel */
    .carousel {
        height: 80vh;
    }

    .carousel-content {
        width: 90%;
    }

    .carousel-content h1 {
        font-size: 2rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .carousel-btn {
        padding: 0.5rem;
        font-size: 1.2rem;
    }

    /* Services and Why Us Sections */
    .services-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .why-us-card {
        padding: 1.5rem;
    }

    /* Reviews Section */
    .reviews-carousel {
        margin: 2rem 0;
    }

    .review-card {
        padding: 1.5rem;
    }

    /* Forms */
    .feedback-form,
    .service-request-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.6rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        margin: 1.5rem 0;
    }
}

@media (max-width: 576px) {
    /* Header */
    .logo {
        font-size: 1.2rem;
    }

    nav ul li a {
        font-size: 0.9rem;
    }

    /* Carousel */
    .carousel {
        height: 70vh;
    }

    .carousel-content h1 {
        font-size: 1.8rem;
    }

    .carousel-content p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Sections */
    .section-title h2 {
        font-size: 2rem;
    }

    /* Forms */
    .form-group label {
        font-size: 0.9rem;
    }

    .submit-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        margin: 30% auto;
        padding: 1.5rem;
    }

    .modal-body h3 {
        font-size: 1.5rem;
    }

    .modal-body p {
        font-size: 0.9rem;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 480px) {
    /* Carousel */
    .carousel {
        height: 60vh;
    }

    .carousel-content h1 {
        font-size: 1.5rem;
    }

    .carousel-content p {
        font-size: 0.8rem;
    }

    /* Navigation */
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.3rem 0;
    }

    .nav-phone {
        display: block;
        text-align: center;
        margin: 0.5rem auto;
    }

    /* Footer */
    .footer-section p {
        font-size: 0.9rem;
    }

    .social-links a {
        font-size: 1.2rem;
        margin: 0 0.5rem;
    }
}

/* Fix for sticky header on mobile */
@media (max-width: 768px) {
    header {
        position: relative;
    }

    body {
        padding-top: 0;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
    .cta-button,
    .submit-button,
    .modal-button {
        min-height: 44px;
        min-width: 44px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Improve carousel navigation on mobile */
@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Auth Forms */
.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.auth-form .remember-me,
.auth-form .terms {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.auth-form .remember-me input,
.auth-form .terms input {
    margin-right: 0.5rem;
}

.forgot-password {
    float: right;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: #ddd;
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background-color: white;
    padding: 0 1rem;
    color: #666;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.social-btn i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.social-btn.google {
    background-color: #DB4437;
    color: white;
}

.social-btn.google:hover {
    background-color: #c53929;
}

.social-btn.facebook {
    background-color: #4267B2;
    color: white;
}

.social-btn.facebook:hover {
    background-color: #365899;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--secondary-color);
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Modal Updates for Auth */
#loginModal .modal-content,
#registerModal .modal-content {
    max-width: 500px;
}

.modal-body h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

/* Responsive Auth Forms */
@media (max-width: 768px) {
    .auth-form {
        padding: 0 1rem;
    }

    .social-btn {
        font-size: 0.9rem;
    }

    .auth-form input[type="text"],
    .auth-form input[type="email"],
    .auth-form input[type="password"],
    .auth-form input[type="tel"] {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    .nav-login {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .modal-content {
        width: 95%;
    }
} 