/* Root Variables */
:root {
    --primary-color: #FF6B35;
    --secondary-color: #000000;
    --text-light: #FFFFFF;
    --text-dark: #333333;
}

/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
    background-color: var(--text-dark);
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Navbar */
.navbar {
    background-color: var(--secondary-color) !important;
    padding: 1rem 2rem !important;
    transition: background 0.3s ease-in-out !important;
}

.navbar .navbar-brand img {
    height: 100px;
    transition: transform 0.3s ease-in-out;
}

.navbar .navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar .nav-link {
    color: white !important;
    font-size: 1rem !important;
    margin-left: 1rem !important;
    transition: color 0.3s ease-in-out !important;
}

.navbar .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Contact Info */
.contact-info {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.contact-info a {
    color: white !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-info i {
    font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
    position: relative; /* Needed for overlay */
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    transition: background 1s ease-in-out;
}

/* Dark Overlay */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Adjust opacity for darkness */
    z-index: 1;
}

/* Ensure content is above the overlay */
.hero-content {
    position: relative;
    z-index: 2;
}


.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 1.8s ease-in-out;
}

/* Buttons */
.btn-primary, .btn-outline-light {
    border-radius: 50px !important;
    padding: 0.75rem 2rem !important;
    font-size: 1.1rem !important;
    transition: transform 0.5s ease, background-color 0.3s ease !important;
}

/* Button Hover Effects */
.btn-primary {
    background-color: var(--primary-color) !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4) !important;
}

.btn-primary:hover {
    transform: translateY(-5px) !important;
    background-color: #e55a2b !important;
}

.btn-outline-light {
    border: 2px solid white !important;
    color: white !important;
}

.btn-outline-light:hover {
    transform: translateY(-5px) !important;
    background-color: white !important;
    color: var(--secondary-color) !important;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%; /* Adjusted width for better spacing */
    height: 100vh;
    background-color: var(--secondary-color);
    transition: right 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.3);
    overflow-y: auto; /* Ensure vertical scrolling within the side menu */
}

.side-menu.show {
    right: 0%;
}

.side-menu button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    align-self: flex-end;
    margin-bottom: 1rem;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin-top: 5rem;
}

.side-menu ul li {
    margin: 15px 0;
}

.side-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease-in-out;
}

.side-menu ul li a:hover {
    color: var(--primary-color);
}
/* Mobile Menu Close Button */
#close-menu {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#close-menu:hover {
    transform: scale(1.1);
    color: #FF6B35; /* Highlight color on hover */
}


/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .navbar .contact-info {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 10px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
}
/* Improve Mobile Font Size */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }

    .btn-primary, .btn-outline-light {
        font-size: 0.9rem !important;
        padding: 0.5rem 1.5rem !important;
    }

    .side-menu {
        width: 80% !important; /* Wider on mobile for better spacing */
        padding: 1.5rem !important;
    }

    .side-menu ul li a {
        font-size: 1.1rem !important;
    }
}

/* Improve Close Button for Mobile */
#close-menu {
    top: 10px !important;
    right: 15px !important;
    font-size: 28px !important; /* Bigger for easier tapping */
    
}

/* Make Navbar More Attractive */
.navbar {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animate Mobile Menu */
.side-menu {
    transition: right 0.4s ease-in-out;
}

.side-menu.show {
    right: 0 !important;
}



/* section 2 */
/* Contact Section Styling */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(47, 42, 42);
    line-height: 1.2;
}

.section-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.badge {
    background-color: var(--primary-color) !important;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Form Styling */
.form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-floating > .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
    transition: var(--transition);
}

.form-floating > .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.1);
}

.form-floating > textarea.form-control {
    height: 120px !important;
}

.form-floating > label {
    padding: 1rem 0.75rem;
}

/* Button Styling */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Carousel Enhancements */
.carousel {
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-item {
    position: relative;
}

.carousel-item img {
    height: 350px;
    object-fit: cover;
}

.carousel-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.carousel-indicators {
    margin-bottom: 1rem;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.content-wrapper {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-item img {
        height: 300px;
    }
    
    .form-wrapper {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .badge {
        font-size: 0.8rem;
    }
}


/* services */

/* Services Section */
.services-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../assets/hero3.jpg') center/cover fixed;
    padding: 100px 0;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Header Styling */
.services-header {
    padding-right: 2rem;
}

.services-header h6 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.services-header h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 500;
}

.btn-primary {
    background-color: #CF7E4F;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #b86b3d;
    transform: translateY(-2px);
}

/* Cards Grid */
.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
    position: relative;
}

/* Randomized Positioning for Cards */
.service-card:nth-child(1) {
    transform: translateY(-50px) !important;
}
.service-card:nth-child(2) {
    transform: translateY(10px) !important;
}
.service-card:nth-child(3) {
    transform: translateY(10px) !important;
}
.service-card:nth-child(4) {
    transform: translateY(60px) !important;
}

/* Service Card Styling */
.service-card {
    background: rgba(35, 47, 62, 0.532);
    border-radius: 80px 0 80px 0;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #CF7E4F;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #ffffff;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .services-section {
        padding: 60px 0;
    }

    .services-header {
        text-align: center;
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .services-header h2 {
        font-size: 2.5rem;
    }

    .services-cards {
        grid-template-columns: 1fr;
    }

    /* Remove Random Positions on Small Screens */
    .service-card {
        transform: none !important;
    }
}

@media (max-width: 767px) {
    .services-header h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}


/* workflow */
/* Workflow Section */
.workflow-section {
    background-color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.workflow-row {
    display: flex;
    flex-wrap: nowrap; /* Ensure steps stay in a single line on desktop */
    justify-content: center;
    align-items: center;
    gap: 40px; /* Increased gap for better spacing */
    position: relative;
    max-width: 1200px; /* Limit width for better centering */
    margin: 0 auto; /* Center the row */
}

.workflow-step-col {
    flex: 0 0 auto;
    width: 33.333333%; /* Equal width for each step */
}

.workflow-step {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    position: relative;
    text-align: center;
}

.workflow-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #f9f9f9; /* Light gray background for circle */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    border: 1px solid #e0e0e0; /* Light border for circle */
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.workflow-icon i {
    font-size: 2rem; /* Size of Font Awesome icons */
    color: var(--primary-color); /* Matches the orange from the logo for icon color */
}

.workflow-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-color); /* Matches the orange from the logo */
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    text-align: center;
    min-width: 60px;
}

.workflow-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.workflow-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.workflow-arrow {
    font-size: 2rem;
    color: #999; /* Light gray for arrows */
    font-weight: normal;
    display: block;
}

.workflow-arrow-col {
    text-align: center;
    flex: 0 0 auto;
    width: auto;
}

/* Responsive Design */
@media (max-width: 991px) {
    .workflow-row {
        flex-wrap: wrap; /* Allow wrapping on tablets and smaller */
        gap: 30px;
    }

    .workflow-step-col {
        width: 100%; /* Full width on tablets */
        max-width: 300px; /* Limit width for better mobile layout */
    }

    .workflow-arrow-col {
        display: none; /* Hide arrows on mobile */
    }

    .workflow-icon {
        width: 100px;
        height: 100px;
    }

    .workflow-icon i {
        font-size: 1.5rem; /* Smaller icon size on tablets */
    }

    .workflow-title {
        font-size: 1.3rem;
    }

    .workflow-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .workflow-section {
        padding: 60px 0;
    }

    .workflow-row {
        flex-direction: column; /* Stack vertically on mobile */
        gap: 20px;
    }

    .workflow-step-col {
        width: 100%;
        max-width: 250px;
    }

    .workflow-icon {
        width: 90px;
        height: 90px;
    }

    .workflow-icon i {
        font-size: 1.3rem; /* Smaller icon size on mobile */
    }

    .workflow-title {
        font-size: 1.2rem;
    }

    .workflow-text {
        font-size: 0.8rem;
    }
}


/* testimonals */
/* Testimonials Section */
.testimonials-section {
    background: url('../assets/test.png') no-repeat center center;
    background-size: cover;
    position: relative;
    /* Removed overlay since the image provides the dark effect */
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-row {
    display: flex;
    flex-wrap: nowrap; /* Ensure a single line on desktop */
    justify-content: center;
    align-items: center;
    gap: 20px; /* Reduced gap for compactness */
    max-width: 1200px; /* Limit width for better centering */
    margin: 0 auto; /* Center the row */
}

.testimonial-card {
    background: #000000; /* Black background for cards */
    padding: 20px;
    border-radius: 10px;
    color: #ffffff;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: center;
    width: 300px; /* Fixed width for compactness */
    height: 300px; /* Fixed height to ensure uniform size */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color); /* Orange badge */
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-badge i {
    line-height: 1; /* Adjust icon alignment */
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    /* border: 3px solid var(--primary-color); Orange border for profile image */
}

.testimonial-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-designation {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.5;
    flex-grow: 1; /* Allow text to grow and push other elements */
    overflow-wrap: break-word; /* Ensure text wraps within the card */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 991px) {
    .testimonials-row {
        flex-wrap: wrap; /* Allow wrapping on tablets and smaller */
        gap: 15px;
    }

    .testimonial-card {
        width: 250px; /* Slightly narrower on tablets */
        height: 350px; /* Slightly shorter on tablets */
        padding: 15px;
    }

    .testimonial-img {
        width: 70px;
        height: 70px;
    }

    .testimonial-title {
        font-size: 1.1rem;
    }

    .testimonial-designation {
        font-size: 0.8rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-row {
        flex-direction: column; /* Stack vertically on mobile */
        gap: 20px;
    }

    .testimonial-card {
        width: 100%; /* Full width on mobile */
        max-width: 300px; /* Limit width for better mobile layout */
        height: auto; /* Auto height on mobile to accommodate text */
        padding: 10px;
    }

    .testimonial-img {
        width: 60px;
        height: 60px;
    }

    .testimonial-title {
        font-size: 1rem;
    }

    .testimonial-designation {
        font-size: 0.7rem;
    }

    .testimonial-text {
        font-size: 0.8rem;
    }
}

/* ... (existing styles) ... */

/* Achievement Section */
.achievement-section {
    background: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.achievement-row {
    display: flex;
    flex-wrap: nowrap; /* Ensure a single line on desktop */
    justify-content: center;
    align-items: center;
    gap: 40px; /* Increased gap for better spacing */
    max-width: 1200px; /* Limit width for better centering */
    margin: 0 auto; /* Center the row */
}

.achievement-icon {
    width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

.achievement-icon:hover {
    transform: scale(1.1);
}

/* Hurry Up! Section (Absolute Positioning) */
.hurry-up-section {
    background: url('../assets/wood-background.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 20px 0; /* Reduced padding for compactness */
}

.hurry-up-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
    z-index: 1;
}

.hurry-up-section .container {
    position: relative;
    z-index: 2;
}

.hurry-up-card {
    background: var(--primary-color); /* Orange background */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 500px; /* Limit width for responsiveness */
    margin: 0 auto; /* Center the card */
}

.hurry-up-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hurry-up-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-round {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    justify-content: center; /* Center the icon horizontally */
    align-items: center; /* Center the icon vertically */
    border: none;
    transition: all 0.3s ease;
}

.btn-round:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}

/* Footer Section */
.footer-section {
    background: url('../assets/wood-background.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 40px 0; /* Increased padding for better spacing */
    color: white;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Slightly lighter for better readability */
    z-index: 1;
}

.footer-section .container {
    position: relative;
    z-index: 2;
}

.footer-section p {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.5;
    text-align: center; /* Ensure text stays centered */
}

.footer-section i {
    margin-right: 8px;
    color: white;
    font-size: 1.2rem; /* Increased size for better visibility */
}

.footer-section a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffcc00; /* Highlight on hover */
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .footer-section {
        padding: 30px 10px;
    }

    .footer-section p {
        font-size: 0.9rem;
    }
}


/* Back to Top Button (Fixed Position) */
.fixed-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.fixed-button:hover {
    background: #ffffff;
    color: var(--primary-color);
    transform: scale(1.05);
}

.fixed-button i {
    margin: 0; /* Remove margin for icon-only button */
}

/* Responsive Design for Achievement Section */
@media (max-width: 991px) {
    .achievement-row {
        flex-wrap: wrap; /* Allow wrapping on tablets */
        gap: 20px;
    }

    .achievement-icon {
        width: 120px;
    }
}

@media (max-width: 767px) {
    .achievement-section {
        padding: 60px 0;
    }

    .achievement-row {
        flex-direction: column; /* Stack vertically on mobile */
        align-items: center;
        gap: 15px;
    }

    .achievement-icon {
        width: 100px;
    }
}

/* Responsive Design for Hurry Up! Section */
@media (max-width: 991px) {
    .hurry-up-card {
        padding: 20px;
        max-width: 400px;
    }

    .hurry-up-title {
        font-size: 2rem;
    }

    .hurry-up-text {
        font-size: 1rem;
    }

    .btn-round {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .hurry-up-section {
        padding: 40px 0;
        position: relative; /* Ensure responsiveness on mobile */
    }

    .hurry-up-card {
        padding: 15px;
        max-width: 300px;
    }

    .hurry-up-title {
        font-size: 1.5rem;
    }

    .hurry-up-text {
        font-size: 0.9rem;
    }

    .btn-round {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Responsive Design for Footer Section */
@media (max-width: 991px) {
    .footer-section .row {
        flex-direction: column;
        gap: 15px;
    }

    .footer-section p {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .footer-section {
        padding: 30px 0;
    }

    .footer-section p {
        font-size: 0.8rem;
    }

    .fixed-button {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}