* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Navbar Styles */
#navbar {
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)), 
                url('http://www.popwebdesign.net/images/tutorial/photoshop/ps-menu_1.jpg') center/cover;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

#logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: rgb(255, 255, 255) !important;
    text-decoration: none;
}

#logo span {
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 15px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffd700 !important;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.navbar-nav .nav-link.active {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.navbar-nav .nav-link i {
    margin-right: 5px;
}

.navbar-toggler {
    border: none;
    color: white;
}

/* Main Section */
.main {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.jdmagicbox.com/comp/bijnor/x5/9999p1342.1342.220907120830.q5x5/catalogue/livespace-interiors-and-constructions-bijnor-city-bijnor-architects-af663kit98.jpg') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: left;
    margin-top: 70px;
}

.main h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.highlight {
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    transition: opacity 0.5s ease-in-out;
    display: inline-block;
    min-width: 300px;
    text-align: left;
}

.main p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.3s both;
}

.modern-btn {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    animation: fadeInUp 1s ease 0.6s both;
}

.modern-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

#btn1 a {
    text-decoration: none;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)), 
                url('https://images.jdmagicbox.com/comp/bijnor/x5/9999p1342.1342.220907120830.q5x5/catalogue/livespace-interiors-and-constructions-bijnor-city-bijnor-architects-4rpwik8bz4.jpg') center/cover;
}

.services-section h3 {
    font-weight: bold;
    position: relative;
}

.services-section h3::after {
    content: '';
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.card-img-top {
    transition: all 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

#btn2 button {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#btn2 button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

#btn2 a {
    text-decoration: none;
}

/* Portfolio Cards */
#tpc {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
}

#tpc .card-img-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

#tpc .card-title {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

#tpc .card-text {
    color: #ddd;
}

/* Trending Products */
#c {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

#c:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

#btn3 button {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

#btn3 button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* Contact Section */
.contact-section .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact-section .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.contact-section .btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.contact-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    color: #667eea;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #764ba2;
    transform: translateY(-3px);
}

/* Footer */
#footer {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: white;
    padding: 50px 0 20px;
    position: relative;
    overflow: hidden;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(201, 169, 110, 0.1) 0%, transparent 50%, rgba(201, 169, 110, 0.05) 100%);
    pointer-events: none;
}

#footer h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #c9a96e;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
}

#footer p {
    margin-bottom: 10px;
    color: #f8f9fa;
    position: relative;
    z-index: 1;
}

.icons a {
    display: inline-block;
    margin-right: 15px;
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    background: rgba(201, 169, 110, 0.2);
    padding: 10px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.icons a:hover {
    color: #c9a96e;
    transform: translateY(-3px) scale(1.1);
    background: rgba(201, 169, 110, 0.3);
    box-shadow: 0 5px 15px rgba(201, 169, 110, 0.3);
}

.credite {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 30px;
    padding-top: 20px;
    position: relative;
    z-index: 1;
}

.credite p {
    color: #ffffff;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main h1 {
        font-size: 2.5rem;
    }
    
    .main p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .services-section h3 {
        font-size: 2rem;
    }
    
    #navbar {
        padding: 10px 0;
    }
    
    .main {
        margin-top: 60px;
    }
}

@media (max-width: 576px) {
    .main h1 {
        font-size: 2rem;
    }
    
    .modern-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .card {
        margin-bottom: 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.card, .main, .services-section {
    animation: fadeInUp 0.8s ease;
}

/* Hover Effects */
.card-body {
    padding: 20px;
}

.card-text {
    color: #666;
    line-height: 1.6;
}

/* Button Styles */
button {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Portfolio Carousel Styles */
#portfolioCarousel {
    margin-top: 30px;
}

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

#portfolioCarousel .carousel-control-prev,
#portfolioCarousel .carousel-control-next {
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    border-radius: 50%;
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    transition: all 0.3s ease;
}

#portfolioCarousel .carousel-control-prev {
    left: -25px;
}

#portfolioCarousel .carousel-control-next {
    right: -25px;
}

#portfolioCarousel .carousel-control-prev:hover,
#portfolioCarousel .carousel-control-next:hover {
    background: linear-gradient(45deg, rgba(102, 126, 234, 1), rgba(118, 75, 162, 1));
    transform: translateY(-50%) scale(1.1);
}

#portfolioCarousel .carousel-indicators {
    bottom: -50px;
}

#portfolioCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.5);
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#portfolioCarousel .carousel-indicators button.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    transform: scale(1.2);
}

#portfolioCarousel .carousel-indicators button:hover {
    background: rgba(102, 126, 234, 0.8);
    transform: scale(1.1);
}

/* Auto-slide animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#portfolioCarousel .carousel-item.active .card {
    animation: slideIn 0.6s ease-out;
}

/* Responsive carousel */
@media (max-width: 768px) {
    #portfolioCarousel .carousel-control-prev,
    #portfolioCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    #portfolioCarousel .carousel-control-prev {
        left: -20px;
    }
    
    #portfolioCarousel .carousel-control-next {
        right: -20px;
    }
    
    #portfolioCarousel .carousel-indicators {
        bottom: -30px;
    }
}

/* Rainbow Border Animation */
.rainbow-border {
    border: 5px solid #ff0000;
    animation: rainbow-glow 3s linear infinite;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3), 0 10px 30px rgba(0,0,0,0.2);
}

@keyframes rainbow-glow {
    0% { 
        border-color: #ff0000;
        box-shadow: 0 0 30px rgba(255, 0, 0, 0.6), 0 0 60px rgba(255, 0, 0, 0.4), 0 10px 30px rgba(0,0,0,0.2);
    }
    16.66% { 
        border-color: #ff7f00;
        box-shadow: 0 0 30px rgba(255, 127, 0, 0.6), 0 0 60px rgba(255, 127, 0, 0.4), 0 10px 30px rgba(0,0,0,0.2);
    }
    33.33% { 
        border-color: #ffff00;
        box-shadow: 0 0 30px rgba(255, 255, 0, 0.6), 0 0 60px rgba(255, 255, 0, 0.4), 0 10px 30px rgba(0,0,0,0.2);
    }
    50% { 
        border-color: #00ff00;
        box-shadow: 0 0 30px rgba(0, 255, 0, 0.6), 0 0 60px rgba(0, 255, 0, 0.4), 0 10px 30px rgba(0,0,0,0.2);
    }
    66.66% { 
        border-color: #0000ff;
        box-shadow: 0 0 30px rgba(0, 0, 255, 0.6), 0 0 60px rgba(0, 0, 255, 0.4), 0 10px 30px rgba(0,0,0,0.2);
    }
    83.33% { 
        border-color: #4b0082;
        box-shadow: 0 0 30px rgba(75, 0, 130, 0.6), 0 0 60px rgba(75, 0, 130, 0.4), 0 10px 30px rgba(0,0,0,0.2);
    }
    100% { 
        border-color: #9400d3;
        box-shadow: 0 0 30px rgba(148, 0, 211, 0.6), 0 0 60px rgba(148, 0, 211, 0.4), 0 10px 30px rgba(0,0,0,0.2);
    }
}