:root {
    --primary-color: #0052CC;
    --secondary-color: #253858;
    --light-blue: #E8F0FE;
    --text-dark: #172B4D;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.8rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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


/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0747A6 100%);
    padding: 6rem 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.hero h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Cards */
.card {
    border: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    height: 100%;
    position: relative;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card::after {
    content: "";
    border-radius: 8px;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.card:hover::after {
    opacity: 1;
}

.card-body {
    padding: 2rem;
}

.card h3.card-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card h6.card-subtitle {
    color: #6c757d;
    font-weight: normal;
    margin-bottom: 1.5rem;
}

.card ul.list-unstyled li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.card ul.list-unstyled li:last-child {
    margin-bottom: 0;
}

.card .fa-check {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Services Section */
.services {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
}

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

.services .fas {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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


/* About Page */
.about-content {
    font-size: 1.1rem;
}

.value-item {
    text-align: center;
}

/* Contact Form */
.contact-form .form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.contact-info .card {
    height: 100%;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.btn-primary:hover {
    background-color: #0747A6;
    border-color: #0747A6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    margin-top: 4rem;
}

footer a {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .card {
        margin-bottom: 1rem;
    }
}

/* Executive Portrait Styling */
.executive-portrait {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top: 0;
}

/* Desktop styles */
@media (min-width: 992px) {
    .executive-portrait {
        max-width: 85%;
        margin-bottom: 2rem;
    }
}

/* Mobile styles */
@media (max-width: 991px) {
    .executive-portrait {
        margin: 2rem auto;
        max-width: 70%;
        display: block;
    }
}

/* Page Transitions */
main {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.slide-in {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.6s ease-out forwards;
}

/* Add scroll-triggered animations */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section animations */
.why-us {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.6s;
}