/* Global Styles */
:root {
    --primary-color: #007bff;
    /* Standard Blue - Adjustable */
    --secondary-color: #fd7e14;
    /* Orange - Adjustable */
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --body-font: 'Poppins', sans-serif;
}

body {
    font-family: var(--body-font);
    color: #444;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Helper Classes */
.section-padding {
    padding: 80px 0;
}

.line-divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 20px;
}

.text-secondary-color {
    color: var(--secondary-color) !important;
}

/* Navigation */
.navbar {
    padding: 0;
    /* Zero padding for minimum height */
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 24px;
    padding: 0;
    /* Remove default bootstrap padding */
    margin: 0;
}

.navbar-brand img {
    height: 120px;
    /* Keeping logo size as requested */
    width: auto;
    transition: all 0.3s ease;
    /* smooth resize on scroll if needed */
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin-left: 15px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item:active {
    background-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.hero-img {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Services */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 123, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: #fff;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2), 0 0 15px rgba(0, 123, 255, 0.3) !important;
    border-color: var(--primary-color);
}

.icon-box {
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    background: var(--primary-color);
    color: #fff !important;
    transform: rotateY(360deg);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Testimonials */
.testimonial-box {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 123, 255, 0.1);
    z-index: 1;
}

.testimonial-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2), 0 0 15px rgba(0, 123, 255, 0.3) !important;
    border-color: var(--primary-color);
}

/* Generic Hover Card */
.border-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.border-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2), 0 0 15px rgba(0, 123, 255, 0.3) !important;
    border-color: var(--primary-color) !important;
    background: #fff;
}

/* Footer */
footer a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 20px;
    text-align: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: #fff !important;
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

/* Portfolio Images */
.portfolio-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.portfolio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2), 0 0 15px rgba(0, 123, 255, 0.3) !important;
    border-color: var(--primary-color);
}

.portfolio-card img {
    height: 250px !important;
    object-fit: cover;
    width: 100%;
}