:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --bg-light: #f4f4f4;
    --white: #fff;
    --font-main: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
}

.logo-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    line-height: 1;
}

.logo-sub {
    font-weight: 300;
    font-size: 0.8rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-large .logo-brand {
    font-size: 2.5rem;
}

.logo-large .logo-sub {
    font-size: 1.2rem;
}

.logo-link:hover .logo-text {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

header nav ul {
    display: flex;
    align-items: center;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
}

header nav ul li a:hover {
    color: var(--secondary-color);
}

header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

header nav ul li a:hover::after {
    width: 100%;
}

/* Quality Badge */
.quality-badge {
    position: absolute;
    bottom: -40px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 4px solid var(--white);
    z-index: 10;
    animation: pulse 2s infinite;
    transform: rotate(-10deg);
}

.quality-badge .top-text {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.quality-badge .main-text {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.quality-badge .sub-text {
    font-size: 0.6rem;
    font-weight: 400;
}

@keyframes pulse {
    0% {
        transform: rotate(-10deg) scale(1);
    }

    50% {
        transform: rotate(-10deg) scale(1.05);
    }

    100% {
        transform: rotate(-10deg) scale(1);
    }
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=1920&q=80');
    /* Need a hero image */
    background-size: cover;
    background-position: center;
    color: var(--white);
    height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    background-color: #555;
    /* Fallback */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #2980b9;
}

/* Services */
.services {
    padding: 4rem 0;
    background: var(--bg-light);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.service-card h3,
.service-card p,
.service-card .read-more {
    padding: 0 1.5rem;
}

.service-card .read-more {
    margin-bottom: 2rem;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.read-more {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 0.9rem;
}


/* Services Section */
.services {
    padding: 4rem 0;
    background: var(--bg-light);
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.about-logo-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-text {
    max-width: 600px;
    text-align: left;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gallery */
.gallery {
    padding: 4rem 0;
    background: var(--bg-light);
}

.gallery h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    background: #000;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-icon {
    color: var(--white);
    font-size: 2.5rem;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .zoom-icon {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: var(--accent-color);
}

#lightboxCaption {
    margin: 20px auto;
    width: 80%;
    text-align: center;
    color: #ccc;
    font-size: 1.2rem;
}

/* Contact */
.contact {
    padding: 4rem 0;
    text-align: center;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background: var(--white);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.rating-badge-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.rating-badge {
    background: var(--bg-light);
    padding: 1.5rem 2.5rem;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #ddd;
}

.rating-stars {
    color: #f1c40f;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.rating-text {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-author::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header nav ul {
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
}