/* Color Palette */
:root {
    --purple: #6A1B9A;
    --yellow: #FFEA00;
    --dark: #222;
    --white: #fff;
    --light-grey: #f4f4f4;
}

body { font-family: 'Helvetica Neue', Arial, sans-serif; margin: 0; color: var(--dark); }

/* Navigation */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: var(--white); position: sticky; top: 0; box-shadow: 0 2px 5px rgba(0,0,0,0.1); z-index: 1000; }
.logo img { height: 50px; }
.nav-links { list-style: none; display: flex; }
.nav-links li a { text-decoration: none; color: var(--dark); margin-left: 20px; font-weight: bold; }

/* Hero */
.hero { height: 80vh; background: url('banner\ img.jpg') no-repeat center center/cover; position: relative; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--white); text-align: center; }
.btn-main { background: var(--yellow); color: var(--purple); padding: 15px 30px; text-decoration: none; font-weight: bold; margin-top: 20px; border-radius: 4px; }

/* Grid Layouts */
.container { padding: 50px 5%; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.item { background: var(--light-grey); padding: 30px; border-top: 4px solid var(--purple); text-align: center; transition: 0.3s; }
.item:hover { background: var(--purple); color: var(--white); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-grid img { width: 100%; height: 250px; object-fit: cover; }

/* Contact/Legal */
#contact { background: var(--purple); color: var(--white); text-align: center; }
.legal { margin-top: 30px; font-size: 0.9rem; }
.legal a { color: var(--yellow); }

footer { text-align: center; padding: 20px; background: #111; color: #fff; }
/* ABOUT SECTION PREMIUM */
.about-section {
    padding: 80px 10%;
    background: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    color: var(--purple);
    font-size: 32px;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
    color: #555;
}

.about-content ul {
    margin-top: 20px;
}

.about-content ul li {
    list-style: none;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--purple);
}

/* EXPERTISE IMAGE CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s;
}

/* DARK OVERLAY TEXT */
.card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(106, 27, 154, 0.85); /* purple */
    color: #fff;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    font-size: 18px;
}

/* HOVER EFFECT */
.card:hover img {
    transform: scale(1.1);
}

.card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.7);
}

/* GRID FIX */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 20px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* CARD FIX */
.card {
    position: relative;
    width: 100%;
    height: 260px; /* FIXED HEIGHT = balanced */
    overflow: hidden;
    border-radius: 12px;
}

/* IMAGE FIX */
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* IMPORTANT */
    display: block;
}

/* OVERLAY */
.card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #6a1b9a;
    color: #fff;
    text-align: center;
    padding: 12px;
    font-weight: bold;
}

/* HOVER EFFECT */
.card:hover img {
    transform: scale(1.1);
    transition: 0.4s;
}

/* Testimonial Section Styles */
#testimonials { 
    background: #fdfdfd; 
    padding: 60px 5%; 
}

.testimonial-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-top: 30px;
}

.testimonial-card { 
    background: white; 
    padding: 30px; 
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    border-bottom: 4px solid var(--purple);
    transition: transform 0.3s ease;
}

.testimonial-card:hover { transform: translateY(-10px); }

.testimonial-card p { 
    font-style: italic; 
    color: #444; 
    font-size: 1.1rem; 
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-card h4 { color: var(--purple); margin-bottom: 5px; }

.service-tag { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    color: var(--yellow); 
    background: var(--purple); 
    padding: 4px 10px; 
    border-radius: 4px;
    font-weight: bold;
}

