/* ---------- General ---------- */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #333;
}

a {
    text-decoration: none;
}

/* ---------- Header ---------- */
header {
    background: linear-gradient(135deg, #4c7ea9, #1e3c72);
    color: white;
    padding: 1.2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

nav {
    margin-top: 0.8rem;
}

nav a {
    color: white;
    margin: 0 15px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.3s, transform 0.2s;
}

nav a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* ---------- Hero ---------- */
#hero {
    background: linear-gradient(160deg, #eaf3f9, #ffffff);
    text-align: center;
    padding: 4rem 1rem;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    margin: 1.5rem auto;
    max-width: 900px;
}

#hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.1rem;
    color: #555;
}

/* ---------- Buttons ---------- */
.btn, .btn-3d {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(145deg, #4c7ea9, #1e3c72);
    border-radius: 10px;
    box-shadow: 0 4px #1e3c72;
    text-align: center;
    transition: all 0.3s ease;
}

.btn:hover, .btn-3d:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px #1e3c72;
}

.btn:active, .btn-3d:active {
    transform: translateY(2px);
    box-shadow: 0 2px #1e3c72;
}

/* ---------- Sections ---------- */
section {
    padding: 2rem;
    max-width: 900px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

section h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #1e3c72;
}

/* ---------- Services List ---------- */
#services ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 20px 0;
    column-count: 2;
    column-gap: 40px;
}

#services li {
    margin-bottom: 10px;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    #services ul {
        column-count: 1;
    }
}

/* ---------- Forms ---------- */
form {
    display: flex;
    flex-direction: column;
}

input, textarea, button {
    margin-bottom: 1rem;
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

button {
    cursor: pointer;
}

/* ---------- Footer ---------- */
footer {
    background: #1e3c72;
    color: white;
    text-align: center;
    padding: 1.5rem;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* ---------- Side buttons ---------- */
.side-buttons {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* ---------- Modal ---------- */
#modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
}

#modal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s;
}

#close:hover {
    color: #ccc;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    header h1 { font-size: 1.5rem; }
    nav { display: flex; flex-wrap: wrap; justify-content: center; }
    nav a { font-size: 0.9rem; margin: 5px; }
    section { padding: 1.5rem 1rem; }
    .btn, .btn-3d { font-size: 0.9rem; padding: 10px 18px; }

    .side-buttons {
        bottom: 10px;
        left: 0;
        top: auto;
        transform: none;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        background: white;
        padding: 10px 0;
        border-top: 1px solid #ccc;
        box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 90px; /* Raised a bit to avoid overlap */
    right: 20px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float svg {
    width: 70%;
    height: 70%;
}

.whatsapp-float:hover {
    transform: scale(1.18);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Feedback Floating Button */
.feedback-float {
    position: fixed;
    bottom: 20px; /* Below WhatsApp */
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FF6F61;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feedback-float svg {
    width: 50%;
    height: 50%;
}

.feedback-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        right: 15px;
        width: 55px;
        height: 55px;
    }

    .feedback-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
}
