/* ===== General Body & Typography ===== */
body {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding-top: 80px;          /* Increased slightly for fixed navbar + safe space */
}

/* ===== Typography ===== */
h1, h2, h3 {
    font-weight: bold;
    margin-bottom: 1.5rem;
}

/* ===== Containers ===== */
.container {
    max-width: 1140px;          /* Bootstrap's default container max-width */
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(to right, #007bff, #28a745); /* blue to green gradient */
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4); /* subtle text shadow for readability */
}

/* Make sure hero & section images behave well */
.hero img,
section img {
    width: 100%;
    max-height: 500px;          /* prevents overly tall images */
    object-fit: cover;          /* crops nicely while keeping aspect */
    display: block;
}

/* General image safety (prevents overflow) */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Navbar (Black Theme + Hover) ===== */
/* Hover effect on cards */
.card {
    transition: all 0.35s ease;
    border: none;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18) !important;
    border-radius: 12px;
}

/* Optional: image zoom inside card on hover */
.card img {
    transition: transform 0.4s ease;
}

.card:hover img {
    transform: scale(1.08);
}
img[src*="ESSA.png"] {
    max-height: 180px !important;
    width: auto !important;
}
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff !important;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #00d4ff !important;              /* cyan/blue hover */
    background-color: rgba(0, 212, 255, 0.15);
    border-radius: 6px;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #00d4ff !important;
    font-weight: 600;
}

/* White hamburger icon for mobile */
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Swiper Slider ===== */
.swiper {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Social Buttons ===== */
.social-buttons a {
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.social-buttons a:hover {
    opacity: 0.85;
    transform: translateY(-2px);    /* subtle lift effect */
}

/* ===== Optional: Card hover effect (used in services page) ===== */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}