/* Base Styles */
html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: #555;
    line-height: 1.6;
}

/* Brand Colors */
:root {
    --primary-color: #2c3e50; /* Deep Blue/Charcoal */
    --secondary-color: #95a5a6; /* Silver */
    --accent-color: #18bc9c; /* Sea Green */
    --dark-color: #34495e; /* Wet Asphalt */
    --light-color: #ecf0f1; /* Clouds */
}

/* Focus States */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--accent-color);
}

/* Form Styles */
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--secondary-color);
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    background-color: #fff !important;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    color: var(--dark-color) !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
    background: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero-icon {
    font-size: 12rem;
    opacity: 0.1;
    position: absolute;
    right: 5%;
    bottom: 10%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.min-vh-50 {
    min-height: 50vh;
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1) !important;
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
}

/* Service Cards */
.service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1) !important;
}

.service-icon-container {
    min-height: 150px;
}

/* Stats Section */
.stats-section {
    background-color: var(--light-color);
}
.stat-item h2 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Team Cards */
.team-card {
    border: none;
    background: transparent;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 130px;
    height: 130px;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Contact Page */
.contact-info-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

/* Page Headers */
.page-header {
    background: var(--primary-color);
    padding: 4rem 0;
    color: #fff;
}

.page-header h1 {
    font-weight: 700;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: var(--secondary-color);
}
footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
footer a:hover {
    color: var(--accent-color) !important;
}
footer .social-icons a {
    font-size: 1.5rem;
    margin: 0 0.5rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #15a589; /* Darker accent */
    border-color: #15a589;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #808c8c;
    border-color: #808c8c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* Services Page Pricing Cards */
.pricing-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

.pricing-card.featured {
    border: 3px solid var(--accent-color) !important;
    transform: scale(1.05);
}

.pricing-card .card-header {
    background-color: var(--light-color);
}

/* Process Steps */
.process-step {
    position: relative;
    padding-left: 80px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
        text-align: center;
    }
    
    .hero-icon {
        display: none;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .service-icon-container {
        min-height: 100px;
        padding: 2rem 0;
    }
}

/* Animation for scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}