/* Variables */
:root {
    --primary-color: #e94834;
    --primary-hover: #ff5a3c;
    --secondary-color: #333333;
    --accent-color: #ff7b5a;
    --dark-color: #111111;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --gray-color: #6c757d;
    --border-radius: 10px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 800;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    box-shadow: 0 8px 15px rgba(233, 72, 52, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(233, 72, 52, 0.3);
}

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-text {
    color: #fff;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 5px;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

.loader-bar {
    height: 3px;
    width: 200px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    position: relative;
    overflow: hidden;
}

.loader-bar:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, #fff, transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Section Styles */
section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.section-header {
    position: relative;
    margin-bottom: 30px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 15px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.section-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-color);
}

/* Navigation */
.navbar {
    background-color: rgba(17, 17, 17, 0.95);
    padding: 25px 0;
    transition: all 0.4s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(17, 17, 17, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #fff;
    line-height: 1;
}

.logo-text .highlight {
    color: var(--primary-color);
}

.logo-tagline {
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.nav-link {
    font-weight: 500;
    padding: 10px 20px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    position: relative;
}

.nav-link:before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #fff !important;
}

.nav-link:hover:before {
    width: 70%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.8)), url('https://images.unsplash.com/photo-1535016120720-40c646be5580?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to right, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-text .lead {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-image {
    position: relative;
    height: 500px;
    background: url('https://images.unsplash.com/photo-1533497374533-7dfb4bc0a8c5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    transform: perspective(800px) rotateY(-15deg);
    box-shadow: 25px 60px 125px -25px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    overflow: hidden;
}

.hero-image:hover {
    transform: perspective(800px) rotateY(-5deg);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(233, 72, 52, 0.3), transparent);
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    animation: float 8s infinite ease-in-out;
}

.floating-1 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at center, rgba(233, 72, 52, 0.8), rgba(233, 72, 52, 0));
    top: 20%;
    left: 10%;
}

.floating-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at center, rgba(255, 123, 90, 0.8), rgba(255, 123, 90, 0));
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

.floating-3 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    top: 50%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

.hero-bottom-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
    line-height: 0;
}

/* Services Section */
.service-box {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 40px 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(233, 72, 52, 0.05), transparent);
    transition: var(--transition);
    z-index: -1;
}

.service-box:hover::before {
    height: 100%;
}

.service-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(233, 72, 52, 0.1), rgba(255, 123, 90, 0.1));
    transition: var(--transition);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-box:hover .service-icon-wrapper {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.service-box:hover .service-icon {
    transform: rotateY(180deg);
    color: white;
}

.service-box h4 {
    font-size: 22px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-box p {
    color: var(--gray-color);
    margin-bottom: 25px;
}

.service-hover {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: var(--transition);
}

.service-box:hover .service-hover {
    height: auto;
    opacity: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    color: var(--gray-color);
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li:before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.service-box.featured {
    border: 2px solid rgba(233, 72, 52, 0.1);
    transform: translateY(-10px);
}

.service-box.featured:hover {
    transform: translateY(-20px);
}

/* Stats Section */
.bg-gradient {
    background: linear-gradient(135deg, var(--dark-color), #2a2a2a);
}

.stat-box {
    padding: 20px;
    color: white;
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ffffff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Portfolio Section */
.bg-light {
    background-color: #f8f9fa;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-weight: 500;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 30px;
    font-size: 14px;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(233, 72, 52, 0.2);
}

.portfolio-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 300px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.bg-img-1 {
    background-image: url('https://images.unsplash.com/photo-1516035069371-29a1b244cc32?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80');
}

.bg-img-2 {
    background-image: url('https://images.unsplash.com/photo-1542038784456-1ea8e935640e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80');
}

.bg-img-3 {
    background-image: url('https://images.unsplash.com/photo-1513883049090-d0b7439799bf?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80');
}

.bg-img-4 {
    background-image: url('https://images.unsplash.com/photo-1536240478700-b869070f9279?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80');
}

.bg-img-5 {
    background-image: url('https://images.unsplash.com/photo-1531312073403-1234982c4bdf?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80');
}

.bg-img-6 {
    background-image: url('https://images.unsplash.com/photo-1514575110897-1253ff7b2ccb?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80');
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
    transform: translateY(20px);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.portfolio-link {
    align-self: flex-start;
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.portfolio-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Process Section */
.process-section {
    background-color: white;
}

.process-timeline {
    position: relative;
    padding: 30px 0;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, rgba(233, 72, 52, 0.3), rgba(255, 123, 90, 0.3));
    transform: translateX(-50%);
}

.process-item {
    position: relative;
    margin-bottom: 80px;
    width: 50%;
    padding: 0 50px;
}

.process-item:nth-child(odd) {
    float: left;
    clear: left;
    text-align: right;
}

.process-item:nth-child(even) {
    float: right;
    clear: right;
    text-align: left;
}

.process-number {
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(233, 72, 52, 0.3);
    z-index: 1;
}

.process-item:nth-child(odd) .process-number {
    right: -25px;
}

.process-item:nth-child(even) .process-number {
    left: -25px;
}

.process-content {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 25px;
    transition: var(--transition);
}

.process-content:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.process-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.process-content p {
    margin-bottom: 0;
    color: var(--gray-color);
}

/* About Section */
.about-content .lead {
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
}

.about-feature i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 16px;
}

.about-image-container {
    position: relative;
    padding-left: 50px;
    padding-bottom: 50px;
    max-width: 500px;
    margin: 0 auto;
}

.about-image-main {
    height: 400px;
    background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 2;
}

.about-image-accent {
    position: absolute;
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    bottom: 0;
    left: 0;
    border-radius: var(--border-radius);
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: 75px;
    right: 0;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    z-index: 3;
    text-align: center;
}

.experience-badge .years {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    color: var(--gray-color);
}

/* Testimonials Section */
.testimonials-section {
    background-color: white;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.testimonial-card {
    min-width: 100%;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 30px;
    margin: 0 15px;
    transition: var(--transition);
    transform: scale(0.9);
}

.testimonial-quote {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.testimonial-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-info p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
    background-color: rgba(233, 72, 52, 0.1);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--primary-color);
    color: white;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    transition: var(--transition);
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: url('https://images.unsplash.com/photo-1515378960530-7c0da6231fb1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    position: relative;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.7));
}

.cta-box {
    position: relative;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 60px 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 30px;
}

/* Contact Section */
.contact-content {
    padding-right: 30px;
}

.contact-info {
    margin: 40px 0;
}

.contact-info-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 20px;
}

.contact-info-item h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-info-item p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: var(--transition);
    position: relative;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.social-link:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
    margin-bottom: 10px;
}

.social-link:hover:before {
    opacity: 1;
    visibility: visible;
}

.contact-form-container {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.floating-label {
    position: relative;
}

.floating-label label {
    position: absolute;
    top: 0;
    left: 15px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    transform-origin: 0 0;
    transform: translate(0, 12px);
    transition: all .2s ease;
    pointer-events: none;
}

.floating-label input:focus ~ label,
.floating-label input:not(:placeholder-shown) ~ label,
.floating-label textarea:focus ~ label,
.floating-label textarea:not(:placeholder-shown) ~ label,
.floating-label select:focus ~ label,
.floating-label select:not([value=""]) ~ label {
    transform: translate(0, -12px) scale(0.8);
}

.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 15px;
    color: white;
    border-radius: 5px;
    height: auto;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: none;
    color: white;
    border: none;
}

.form-control::placeholder, .form-select::placeholder {
    color: transparent;
}

.btn-block {
    width: 100%;
}

/* Footer */
.bg-darker {
    background-color: rgba(0, 0, 0, 0.95);
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo .logo-text {
    font-size: 20px;
    margin-bottom: 5px;
}

.footer-logo .copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: -60px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    opacity: 0;
    z-index: 99;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    bottom: 30px;
    opacity: 1;
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* Media Queries */
@media (max-width: 1199.98px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 991.98px) {
    section {
        padding: 80px 0;
    }
    
    .hero {
        height: auto;
        min-height: 600px;
        padding: 100px 0;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-image {
        margin-top: 50px;
        height: 400px;
        transform: perspective(800px) rotateY(0);
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .process-item {
        width: 100%;
        padding: 0;
        text-align: left;
        padding-left: 60px;
        float: none;
    }
    
    .process-timeline:before {
        left: 30px;
    }
    
    .process-item:nth-child(odd) .process-number,
    .process-item:nth-child(even) .process-number {
        left: 5px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .about-image-container {
        padding-left: 0;
        padding-bottom: 70px;
        margin-top: 50px;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        min-height: 500px;
        padding: 80px 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text .lead {
        font-size: 1.1rem;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .service-box {
        margin-bottom: 30px;
    }
    
    .section-badge {
        font-size: 10px;
        padding: 5px 12px;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        transform: scale(1);
    }
    
    .cta-box {
        padding: 40px 20px;
    }
    
    .cta-box h2 {
        font-size: 2rem;
    }
    
    .contact-form-container {
        margin-top: 50px;
    }
}

@media (max-width: 575.98px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .section-heading {
        font-size: 1.5rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .testimonial-card {
        padding: 15px;
    }
    
    .social-links {
        justify-content: center;
    }
}