/* Wathiqa.ly Custom Styles */

:root {
    --primary-color: #0d6efd;
    /* Bootstrap primary blue */
    --secondary-color: #6c757d;
    /* Bootstrap secondary grey */
    --accent-color: #0dcaf0;
    /* Bootstrap info cyan */
    --light-bg: #f8f9fa;
    --dark-text: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
}

.navbar-brand img{
    height: 60px;
    width: auto;
}

/* Header & Logo Styling */
.navbar {
    min-height: 90px;
    /* Keep navbar compact */
}

/* Desktop: Logo Overflow */
@media (min-width: 992px) {
    .navbar-brand {
        position: relative;
        width: 160px;
        /* Reserve space for layout flow */
        height: 60px;
        /* Match approximately navbar content height */
        display: flex;
        align-items: center;
    }

    .navbar-logo {
        position: relative;
        top:5px;
        /* Adjusted to move logo up */
        left: 0;
        height: 160px;
        /* Big logo size */
        width: auto;
        z-index: 1050;
        /* Above regular content */
        transition: all 0.3s ease;
    }
}

/* Mobile: Standard Logo */
@media (max-width: 991.98px) {
    .navbar-logo {
        height: 60px;
        width: auto;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://placehold.co/1920x600/0d6efd/ffffff?text=Wathiqa+Insurance') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.feature-card .card-body {
    padding: 2rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Services Grid */
.service-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.service-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.service-item:hover h4,
.service-item:hover p {
    color: white;
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-item:hover .service-icon {
    color: white;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(13, 110, 253, 0.9), rgba(13, 202, 240, 0.9)), url('https://placehold.co/1920x400/eeeeee/aaaaaa?text=Call+to+Action') fixed center center;
    background-size: cover;
    padding: 80px 0;
    color: white;
}

/* Footer */
footer {
    background: #212529;
    color: #adb5bd;
    padding-top: 60px;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: white;
}

.social-links a {
    font-size: 18px;
    display: inline-block;
    background: #343a40;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
}