/* CSS Variables */
:root {
    --primary-bg: #F8F9FA;
    --secondary-bg: #FFFFFF;
    --dark-text: #212529;
    --accent-color: #D76F30;
    --light-grey: #f8f9fa;
    --dark-grey: #6c757d;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --font-brand: 'Playfair Display', serif;
    --navbar-height: 70px;
    --transition-speed: 0.3s;
    --bs-primary-rgb: 215, 111, 48;
    --bs-link-hover-color-rgb: var(--bs-primary-rgb);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --gradient-1: linear-gradient(120deg, #D76F30, #c25a1c, #eda474);
    --gradient-2: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

/* Global Styles */
body {
    font-family: var(--font-primary);
    color: var(--dark-text);
    background-color: var(--primary-bg);
    padding-top: var(--navbar-height);
    scroll-behavior: smooth;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.white-hero {
    color: rgba(255, 255, 255, 0.8) !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7) !important;
}

/* Accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), 0.25);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hide content until loaded */
body:not(.loaded) > *:not(.loading-screen) {
    opacity: 0;
    visibility: hidden;
}

body.loaded > *:not(.loading-screen) {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease;
}

/* Hero Section Improvements */
#hero {
    min-height: calc(100vh - var(--navbar-height));
    color: var(--primary-bg);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-2);
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: bgCarousel 40s infinite linear;
    opacity: 0.8;
    z-index: -2;
    will-change: background-image;
}

#hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

#hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

@keyframes bgCarousel {
    0% { background-image: url('https://cdn.pixabay.com/photo/2015/10/20/18/57/furniture-998265_1280.jpg'); }
    10% { background-image: url('https://cdn.pixabay.com/photo/2016/11/19/13/06/bed-1839183_1280.jpg'); }
    20% { background-image: url('https://cdn.pixabay.com/photo/2024/05/11/07/22/sofa-8754140_1280.jpg'); }
    30% { background-image: url('https://cdn.pixabay.com/photo/2020/01/23/02/33/kitchen-4786780_1280.jpg'); }
    40% { background-image: url('https://cdn.pixabay.com/photo/2017/09/09/18/25/living-room-2732939_1280.jpg'); }
    50% { background-image: url('https://cdn.pixabay.com/photo/2021/02/13/21/47/interior-design-6012873_1280.jpg'); }
    60% { background-image: url('https://cdn.pixabay.com/photo/2020/05/19/11/12/ceiling-5190252_1280.jpg'); }
    70% { background-image: url('https://cdn.pixabay.com/photo/2023/04/09/12/57/master-bedroom-7911528_1280.jpg'); }
    80% { background-image: url('https://cdn.pixabay.com/photo/2023/04/09/00/48/master-bedroom-7910422_1280.jpg'); }
    90% { background-image: url('https://cdn.pixabay.com/photo/2015/04/20/06/46/office-730681_1280.jpg'); }
    100% { background-image: url('https://cdn.pixabay.com/photo/2017/08/27/10/16/interior-2685521_1280.jpg'); }
}

.cta-button {
    background: var(--gradient-1);
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Responsive adjustments for hero text */
@media (max-width: 991px) {
    .hero-tagline {
        font-size: 2.8rem;
    }
}

@media (max-width: 767px) {
    .hero-tagline {
        font-size: 2.2rem;
    }
}

@media (max-width: 575px) {
    .hero-tagline {
        font-size: 1.8rem;
    }
}

/* Section Styling */
section {
    overflow: hidden;
    padding: 80px 0;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    font-weight: 700;
    text-align: center;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Buttons */
.btn {
    font-family: var(--font-secondary);
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all var(--transition-speed) ease;
    box-shadow: var(--shadow-sm);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #c25a1c;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    background: transparent;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Navigation Bar */
.navbar {
    box-shadow: var(--shadow-md);
    background-color: rgb(255, 255, 255) !important;
    height: var(--navbar-height);
    transition: background-color var(--transition-speed) ease;
    padding: 10px;
}

.navbar-brand {
    /* position: absolute; */
    color: var(--accent-color) !important;
    font-family: var(--font-brand);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.navbar-brand::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent-color),
        transparent
    );
    background-size: 200% 100%;
    animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {
    from {
        background-position: 200% 0;
    }
    to {
        background-position: -200% 0;
    }
}

.navbar-brand.super-brand {
    font-family: var(--font-brand);
    font-size: 1.8rem;
    font-weight: 600;
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 1px;
}

.navbar-brand.super-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 25%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    animation: shine 1.9s infinite linear;
}

@keyframes shine {
    0% { left: -75%; }
    50% { left: 125%; }
    100% { left: 125%; }
}

.nav-link {
    color: var(--dark-text) !important;
    margin: 0 10px;
    transition: color var(--transition-speed) ease;
    position: relative;
    padding-bottom: 8px;
    font-weight: 500;
    font-size: 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 70%;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--accent-color);
}

/* Hero Section */
#hero {
    min-height: calc(100vh - var(--navbar-height));
    color: var(--primary-bg);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-2);
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: bgCarousel 40s infinite linear;
    opacity: 0.8;
    z-index: -2;
    will-change: background-image;
}

#hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 1, 1, 0.4);
    z-index: -1;
}

#hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-tagline {
    font-size: 3.5rem;
    color: #fff;
    /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); */
    font-family: var(--font-secondary);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-tagline span {
    display: inline-block;
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 0.6s ease forwards;
    padding: 0 5px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline span:nth-child(1) { animation-delay: 0s; }
.hero-tagline span:nth-child(2) { animation-delay: 0.2s; }
.hero-tagline span:nth-child(3) { animation-delay: 0.4s; }
.hero-tagline span:nth-child(4) { animation-delay: 0.6s; }

@keyframes bgCarousel {
    0% { background-image: url('https://cdn.pixabay.com/photo/2015/10/20/18/57/furniture-998265_1280.jpg'); }
    10% { background-image: url('https://cdn.pixabay.com/photo/2016/11/19/13/06/bed-1839183_1280.jpg'); }
    20% { background-image: url('https://cdn.pixabay.com/photo/2024/05/11/07/22/sofa-8754140_1280.jpg'); }
    30% { background-image: url('https://cdn.pixabay.com/photo/2020/01/23/02/33/kitchen-4786780_1280.jpg'); }
    40% { background-image: url('https://cdn.pixabay.com/photo/2017/09/09/18/25/living-room-2732939_1280.jpg'); }
    50% { background-image: url('https://cdn.pixabay.com/photo/2021/02/13/21/47/interior-design-6012873_1280.jpg'); }
    60% { background-image: url('https://cdn.pixabay.com/photo/2020/05/19/11/12/ceiling-5190252_1280.jpg'); }
    70% { background-image: url('https://cdn.pixabay.com/photo/2023/04/09/12/57/master-bedroom-7911528_1280.jpg'); }
    80% { background-image: url('https://cdn.pixabay.com/photo/2023/04/09/00/48/master-bedroom-7910422_1280.jpg'); }
    90% { background-image: url('https://cdn.pixabay.com/photo/2015/04/20/06/46/office-730681_1280.jpg'); }
    100% { background-image: url('https://cdn.pixabay.com/photo/2017/08/27/10/16/interior-2685521_1280.jpg'); }
}

.cta-button {
    background: var(--gradient-1);
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Services Section */
#services {
    background-color: var(--secondary-bg);
}

.service-card {
    background-color: #F1F1F1;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    overflow: hidden;
    border: 1px solid transparent;
    padding: 30px 20px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--bs-primary-rgb), 0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-description {
    font-size: 1rem;
    color: var(--dark-grey);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.5s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.service-card:hover .service-description,
.service-turnkey:hover .service-description {
    opacity: 1;
    max-height: 100px;
    margin-top: 15px;
}

.service-card h5 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.service-card .btn {
    margin-top: 15px;
    transition: all var(--transition-speed) ease;
}

.service-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Portfolio Section - Carousel */
#portfolio {
    background-color: var(--light-grey);
}

#portfolioCarousel .carousel-item {
    transition: transform .5s ease-in-out;
}

.portfolio-carousel-image {
    height: 500px;
    object-fit: cover;
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

#portfolioCarousel .carousel-caption {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 0 0 15px 15px;
    padding: 20px;
    bottom: 0;
    left: 0;
    right: 0;
}

#portfolioCarousel .carousel-caption h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

#portfolioCarousel .carousel-caption p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 0;
}

#portfolioCarousel .carousel-indicators button {
    background-color: var(--accent-color);
    opacity: 0.5;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

#portfolioCarousel .carousel-indicators button.active {
    opacity: 1;
    background-color: var(--accent-color);
}

#portfolioCarousel .carousel-control-prev-icon,
#portfolioCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
    background-size: 60%;
}

/* Why Choose Us Section */
#why-us {
    background-color: var(--secondary-bg);
}

.why-us-card {
    border: none;
    background-color: var(--primary-bg);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    padding: 30px 20px;
    transition: all var(--transition-speed) ease;
    height: 100%;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0;
    font-weight: 700;
    font-size: 4rem;
    display: block;
}

.stat-unit {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: 700;
    display: inline-block;
    margin-left: 4px;
    line-height: 1;
    vertical-align: baseline;
}

.why-us-card .card-title {
    color: var(--dark-text);
    font-weight: 700;
    font-size: 1.3rem;
    margin-top: 15px;
}

.why-us-card .card-text {
    color: var(--dark-grey);
    font-size: 1rem;
    margin-top: 15px;
}

/* About Us Section */
#about-us {
    background-color: var(--light-grey);
}

#about-us img.rounded {
    border-radius: 1rem !important;
    box-shadow: var(--shadow-lg);
}

#about-us h3 {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

#about-us p {
    line-height: 1.8;
    color: var(--dark-grey);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Contact Section */
#contact {
    background-color: var(--primary-bg);
}

.contact-info-item {
    padding: 20px;
    background-color: var(--secondary-bg);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) ease;
    height: 100%;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.contact-link {
    color: var(--dark-text);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
    font-weight: 500;
    font-size: 1.2rem;
}

.contact-link:hover, .contact-link:focus {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-info-item span {
    font-size: 1rem;
    color: var(--dark-text);
}

.contact-info-item .text-muted {
    font-size: 0.9rem;
    color: var(--dark-grey) !important;
}

.form-heading {
    color: var(--dark-text);
    font-weight: 700;
    margin-top: 30px;
    font-size: 2rem;
}

#contact-form .form-control,
#contact-form .form-select {
    border: 1px solid #ced4da;
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
    padding: 12px 15px;
    font-size: 1rem;
}

#contact-form .form-control:focus,
#contact-form .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

#contact-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.was-validated .form-control:invalid,
.form-control.is-invalid,
.was-validated .form-select:invalid,
.form-select.is-invalid {
    border-color: var(--bs-danger);
    background-image: none;
}

.was-validated .form-control:valid,
.form-control.is-valid,
.was-validated .form-select:valid,
.form-select.is-valid {
    border-color: var(--bs-success);
    background-image: none;
}

.invalid-feedback {
    font-size: 0.9rem;
}

#form-message .alert {
    text-align: left;
    border-radius: 10px;
}



/* Footer Styles */
/* Footer Styles */
.site-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 70px 0 0;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-brand);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-tagline {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #ffffff;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 10px;
    margin-top: 5px;
    font-size: 1rem;
}

.footer-contact span,
.footer-contact a {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.copyright p,
.footer-bottom-links a,
.developer-credit p {
    color: #aaaaaa;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

.developer-credit a {
    color: #00ffe0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: #ffffff;
}

.developer-credit i {
    margin-right: 5px;
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    padding: 0;
    box-shadow: var(--shadow-md);
    background: var(--gradient-1);
    border: none;
    transition: all 0.3s ease;
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

#back-to-top i {
    line-height: 1;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}


/* Tutorial Modal Styles */
#tutorialModal .modal-header {
    background-color: var(--accent-color);
    color: white;
    border-bottom: none;
    border-radius: 15px 15px 0 0;
}

#tutorialModal .modal-header .btn-close {
    filter: brightness(0) invert(1);
}

#tutorialModal .modal-title {
    font-weight: 600;
    font-size: 1.5rem;
}

#tutorialModal .modal-body {
    padding: 25px;
}

#tutorialModal .modal-body ul {
    padding-left: 20px;
}

#tutorialModal .modal-body li {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

#tutorialModal .modal-link {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
}

#tutorialModal .modal-link:hover {
    text-decoration: underline;
}

#tutorialModal .form-check-label {
    font-size: 0.9rem;
    color: var(--dark-grey);
}

#tutorialModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: var(--shadow-lg);
}

#tutorialModal .modal-footer {
    border-top: none;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 10px;
    }

    .nav-link {
        margin: 5px 0;
        padding: 10px 15px;
        text-align: center;
    }

    .nav-link::after {
        left: 50%;
        transform: translateX(-50%);
        bottom: 5px;
    }

    .navbar-nav .btn#openTutorialModal {
        display: block;
        width: fit-content;
        margin: 10px auto 5px;
    }

    .navbar-collapse {
        background-color: var(--secondary-bg);
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: var(--shadow-lg);
    }

    #back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 20px;
        right: 20px;
    }

    .portfolio-carousel-image {
        height: 400px;
    }
    
    .hero-tagline {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: var(--navbar-height);
    }

    .hero-tagline {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .why-us-card .card-body {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-unit {
        font-size: 1.5rem;
    }

    .contact-info-row .col-md-6 {
        margin-bottom: 15px;
    }

    .contact-icon {
        font-size: 2rem;
    }

    #hero {
        min-height: 100vh;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .portfolio-carousel-image {
        height: 300px;
    }

    #portfolioCarousel .carousel-caption {
        padding: 15px;
        font-size: 0.9rem;
    }

    #portfolioCarousel .carousel-caption h5 {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    #about-us h3 {
        font-size: 1.5rem;
    }
    
    #about-us p {
        font-size: 1rem;
    }
}
