/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #1a252f;
    --how-we-work-color: #2ecc71;
    --warning-color: #f39c12;
    --info-color: #3498db;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Navbar Styles */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: 1030;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
    width: 100%;
    overflow: visible;
}

#home {
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

#home .carousel {
    width: 100%;
    height: 100vh;
    position: relative;
}

#home .carousel-inner {
    width: 100%;
    height: 100%;
}

#home .carousel-item {
    height: 100vh;
    width: 100%;
    position: relative;
}

#home .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8));
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 0;
    margin: 0;
}

.carousel-caption .container {
    position: relative;
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-caption .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.carousel-indicators {
    z-index: 3;
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: white;
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
    width: 5%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    background-size: 50%;
}

#services {
    background-color: var(--light-bg);
}

#about {
    background-color: white;
}

#how-we-work {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('https://source.unsplash.com/random/1920x1080/?business') center/cover;
    color: white;
}

#testimonials {
    background-color: var(--light-bg);
}

#contact {
    background-color: white;
    position: relative;
    z-index: 1;
}

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

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

.card-body {
    padding: 2rem;
    text-align: center;
}

.card i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.card:hover i {
    transform: scale(1.2);
}

/* Testimonial Styles */
.testimonial-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content:before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: -1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
    border: 3px solid var(--secondary-color);
    object-fit: cover;
}

.testimonial-author h5 {
    margin-bottom: 0;
    font-weight: 600;
}

.testimonial-author p {
    margin-bottom: 0;
    color: #777;
    font-size: 0.9rem;
}

/* Counter Styles */
.counter {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    height: 100%;
}

.counter:hover {
    transform: translateY(-5px);
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--secondary-color);
}

/* Contact Form Styles */
.form-control {
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-primary {
    background-color: var(--secondary-color);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Info Styles */
.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    margin-bottom: 2rem;
}

.contact-info h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--secondary-color);
    width: 25px;
    margin-right: 10px;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.2rem;
    justify-content: flex-start;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.1);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.social-links a i {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.social-links a:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover i {
    transform: scale(1.2);
}

/* Responsive social links */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 300px;
    position: relative;
    margin-top: 2rem;
    z-index: 2;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

/* Footer Styles */
.footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 4rem 0 2rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.footer h5 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer p {
    opacity: 0.8;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

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

.section {
    animation: fadeIn 1s ease-out;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .carousel-caption {
        text-align: center;
    }
    
    .carousel-caption .col-lg-6 {
        margin: 0 auto;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption .lead {
        font-size: 1rem;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .map-container {
        height: 250px;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        margin-bottom: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .carousel-caption .lead {
        font-size: 0.9rem;
    }
    
    .carousel-indicators {
        margin-bottom: 1rem;
    }
    
    .carousel-indicators button {
        width: 8px;
        height: 8px;
    }
    
    .map-container {
        height: 200px;
        margin-bottom: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Image Loading Animation */
img {
    transition: opacity 0.5s ease;
    max-width: 100%;
    height: auto;
}

img.loaded {
    opacity: 1;
}

/* AOS Animation Customization */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Fix for carousel controls on mobile */
@media (max-width: 576px) {
    .carousel-control-prev, .carousel-control-next {
        width: 10%;
    }
}

/* Fix for navbar collapse on mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
} 