/* Global Styles */
:root {
    --primary-color: #2ecc71;
    --secondary-color: #27ae60;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    padding-top: 76px;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: white !important;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    height: 100vh;
    margin-top: -76px;
    overflow: hidden;
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    height: 100%;
}

.hero-section .carousel-item img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.carousel-caption {
    bottom: 0;
    top: 0;
    text-align: left;
    z-index: 2;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.carousel-caption .container {
    position: relative;
    flex: 1;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.carousel-caption .btn {
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.carousel-indicators {
    z-index: 3;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
    width: 5%;
}

.carousel-fade .carousel-item {
    transition: opacity 0.8s ease-in-out;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-top: -76px;
    padding-top: 150px !important;
}

/* Solutions Section */
.solutions-section .card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.solutions-section .card:hover {
    transform: translateY(-10px);
}

.solutions-section .card-img-top {
    height: 200px;
    object-fit: cover;
}

.solutions-section .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.solutions-section .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* About Section */
.about-section img {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Projects Page */
.project-filters {
    margin-bottom: 2rem;
}

.project-filters .btn-group {
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-filters .btn {
    border-radius: 30px !important;
    padding: 0.5rem 1.5rem;
}

.projects-grid .card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.projects-grid .card:hover {
    transform: translateY(-10px);
}

.projects-grid .card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Services Page */
.services-grid .card {
    transition: transform 0.3s ease;
}

.services-grid .card:hover {
    transform: translateY(-10px);
}

.services-grid .fa-3x {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Contact Page */
.contact-section .contact-info {
    height: 100%;
}

.contact-section .contact-form {
    background-color: white;
}

.map-container {
    overflow: hidden;
    position: relative;
    height: 450px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
}

.footer a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
    }

    .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .carousel-caption p {
        font-size: 1.1rem;
    }

    .solutions-section .card-img-top {
        height: 180px;
    }

    .project-filters .btn-group {
        justify-content: center;
    }

    .button-wrapper {
        bottom: 30px;
    }
    
    .button-wrapper .btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 70vh;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-caption .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .page-header {
        padding-top: 120px !important;
    }

    .button-wrapper {
        bottom: 20px;
        right: 10px;
    }
    
    .button-wrapper .btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
}

.button-wrapper {
    position: absolute;
    bottom: 50px;
    right: 15px;
    z-index: 3;
}

.button-wrapper .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.button-wrapper .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
} 