/* ===================================================================
   GLOBAL STYLES
   =================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */

#hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1446776653964-20c1d3a81b06?w=1920&h=1080&fit=crop') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    margin-bottom: 1rem;
    font-family: 'Dosis', sans-serif;
}

.hero-content p {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 2rem;
    font-weight: 300;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #4CAF50;
    font-size: 2rem;
    animation: bounce 2s infinite;
    border: 2px solid #4CAF50;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.scroll-down:hover {
    background: #4CAF50;
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================================================
   NAVIGATION
   =================================================================== */

.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    font-family: 'Dosis', sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: #e66f69;
    color: white;
}

/* ===================================================================
   INVESTOR FOCUS SECTION
   =================================================================== */

#investor-focus {
    padding: 80px 0;
    background: white;
}

#investor-focus h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 3rem;
    color: #333;
    font-weight: 300;
    font-family: 'Dosis', sans-serif;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.focus-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.focus-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.focus-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.focus-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.focus-item p {
    color: #666;
    line-height: 1.6;
}

/* ===================================================================
   SERVICES DETAIL SECTION
   =================================================================== */

#services-detail {
    padding: 80px 0;
    background: #f8f9fa;
}

#services-detail h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 3rem;
    color: #333;
    font-weight: 300;
    font-family: 'Dosis', sans-serif;
}

.services-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #666;
}

.services-content a {
    color: #e66f69;
    font-weight: 500;
    transition: color 0.3s ease;
}

.services-content a:hover {
    color: #d55a54;
}

/* ===================================================================
   SERVICES GALLERY SECTION - IMPROVED VERSION
   =================================================================== */

.services-gallery-section {
    padding: 80px 0;
    background: white;
}

.services-gallery-section h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 3rem;
    color: #333;
    font-weight: 300;
    font-family: 'Dosis', sans-serif;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 0 auto;
    gap: 15px; /* Increased from 2px to 15px */
    background-color: white;
    padding: 15px; /* Increased from 2px to 15px */
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Added box-shadow transition */
    border-radius: 8px; /* Optional: adds subtle rounded corners */
}

.gallery-item:hover {
    transform: scale(1.02);
    z-index: 10; /* Ensures hovered item appears above others */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* Optional: adds shadow on hover */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay-content {
    width: 100%;
}

.overlay-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 500;
}

.overlay-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #e0e0e0;
}

.overlay-btn {
    background: #e66f69;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.overlay-btn:hover {
    background: #d55a54;
    transform: translateY(-2px);
    color: white;
}

/* ===================================================================
   RESPONSIVE DESIGN - UPDATED
   =================================================================== */

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        gap: 12px; /* Adjusted for smaller screens */
        padding: 12px;
    }
    
    .overlay-content h3 {
        font-size: 1.2rem;
    }
    
    .overlay-content p {
        font-size: 0.8rem;
    }
    
    .overlay-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        gap: 10px; /* Adjusted for mobile */
        padding: 10px;
    }
}

/* ===================================================================
   TESTIMONIAL SECTION
   =================================================================== */

#testimonial {
    padding: 80px 0;
    background: #f8f9fa;
}

#testimonial h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 3rem;
    color: #333;
    font-weight: 300;
    font-family: 'Dosis', sans-serif;
}

.testimonial-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 2rem;
    object-fit: cover;
}

blockquote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.6;
}

.testimonial-author strong {
    display: block;
    color: #333;
    margin-bottom: 0.5rem;
}

.testimonial-author small {
    color: #666;
    font-size: 0.9rem;
}

/* ===================================================================
   CONTACT SECTION
   =================================================================== */

#contact {
    padding: 80px 0;
    background: white;
}

#contact h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 3rem;
    color: #333;
    font-weight: 300;
    font-family: 'Dosis', sans-serif;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #666;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-info strong {
    color: #e66f69;
}

/* ===================================================================
   FOOTER
   =================================================================== */

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer p {
    font-size: 0.9rem;
    color: #ccc;
}



