:root {
    --primary-color: #2E86AB;      /* Ocean Blue */
    --secondary-color: #184E77;    /* Dark Blue */
    --accent-color: #2AB378;       /* Emerald Green */
    --text-color: #1B3A4B;         /* Dark Blue-Gray */
    --light-bg: #E9F2F5;
    --gradient-start: #2E86AB;     /* Ocean Blue */
    --gradient-end: #184E77;       /* Dark Blue */
    --gradient-accent-start: #2AB378; /* Emerald Green */
    --gradient-accent-end: #1F8A5E;   /* Dark Green */
    --gradient-dark-start: #184E77;   /* Dark Blue */
    --gradient-dark-end: #1B3A4B;     /* Dark Blue-Gray */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: linear-gradient(to right, rgba(255,255,255,0.98), rgba(255,255,255,0.95));
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end), var(--gradient-accent-start));
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
    padding: 120px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero .btn-primary {
    position: relative;
    z-index: 2;
}

.hero .row {
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    opacity: 0.3;
    pointer-events: none;
}

/* Cards */
.service-card, .product-card {
    border: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: linear-gradient(to bottom right, #ffffff, var(--light-bg));
    position: relative;
}

.service-card:hover, .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(46, 134, 171, 0.15);
    background: linear-gradient(45deg, #ffffff, var(--light-bg));
}

.product-card {
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    opacity: 0;
    box-shadow: 0 15px 35px rgba(46, 134, 171, 0.2);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.product-card:hover:after {
    opacity: 1;
}

.product-card .card-img-top {
    transition: all 0.5s ease;
    height: 200px;
    object-fit: cover;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-category-card {
    transition: all 0.4s ease;
    border: none;
    background: linear-gradient(135deg, #ffffff, var(--light-bg));
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.product-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(46, 134, 171, 0.12);
    background: linear-gradient(135deg, #ffffff, var(--light-bg));
}

.product-category-card i {
    transition: all 0.4s ease;
}

.product-category-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-size: 200% auto;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.5s ease;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(42, 179, 120, 0.3);
    position: relative;
    z-index: 10;
    cursor: pointer;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 179, 120, 0.4);
    background-position: right center;
    color: white;
}

.btn-outline-light {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    border: 2px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.3));
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, #ffffff, var(--light-bg));
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, #ffffff, #fafafa);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.1);
    background: #ffffff;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-accent-end));
    color: white;
    padding: 60px 0 30px;
}

footer a.text-white {
    transition: all 0.3s ease;
    opacity: 0.8;
}

footer a.text-white:hover {
    opacity: 1;
    transform: translateX(5px);
}

/* Google Maps */
#map {
    height: 400px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }

    .navbar-collapse {
        background: linear-gradient(to bottom, rgba(255,255,255,0.98), rgba(255,255,255,0.95));
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        backdrop-filter: blur(10px);
    }
}

/* Animations */
.scroll-anim {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.scroll-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Section Backgrounds */
.bg-light {
    background: linear-gradient(135deg, var(--light-bg), #ffffff) !important;
}

/* Card Icons */
.text-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}