/* Core Styles */
:root {
    --primary-color: #DAA520;
    --secondary-color: #2C3E50;
    --text-color: #333;
    --light-color: #fff;
}

/* Scroll Indicator Styles */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
    margin: 0 auto 10px;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    border-radius: 50%;
    animation: scrollDown 1.5s infinite;
}



/* Hero Section */
.hero-about {
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/floorPlanImages-1733041363751-891585250.jpg') !important;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.diagonal-overlay {
    position: absolute !important;
    bottom: 0;
    left: 0;
    width: 100% !important;
    height: 100px !important;
    background: white !important;
    transform: skewY(-3deg) !important;
    transform-origin: bottom left !important;
}

.mega-title {
    font-size: 5rem;
    font-weight: 800;
    color: var(--light-color);
    letter-spacing: 8px;
    line-height: 1.2;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.lead-text {
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1s;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: white;
    overflow: hidden;
    /* Add this to prevent scroll */
}

.about-image-container {
    position: relative;
    margin-right: 50px;
    /* Add space for floating stats */
}

.image-frame {
    position: relative;
    padding: 20px;
    background: linear-gradient(45deg, var(--primary-color) 0%, transparent 50%);
}

.main-image {
    width: 100%;
    height: auto;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.floating-stats {
    position: absolute;
    right: -50px;
    bottom: -50px;
    background: var(--secondary-color);
    color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.achievement-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-10px);
}

.achievement-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Mobile fixes */
@media (max-width: 991px) {
    .about-image-container {
        margin-right: 0;
        /* Remove margin on mobile */
        margin-bottom: 60px;
        /* Add bottom space for stats */
    }

    .floating-stats {
        position: static;
        margin-top: 20px;
        margin-bottom: -40px;
    }
}

/* Mission Vision Section */
.mission-vision-section {
    padding: 100px 0;
    background: var(--secondary-color);
    position: relative;
}

.vision-mission-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.reveal-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    color: white;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s ease;
}

.reveal-box.active {
    transform: translateY(0);
    opacity: 1;
}

.animated-border {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.animated-border::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    animation: borderSlide 2s linear infinite;
}

/* Testimonial Section */
.testimonial-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 20px;
    position: relative;
}

.quote-mark {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 100px;
    color: var(--primary-color);
    opacity: 0.1;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

/* Animations */
@keyframes scrollDown {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes borderSlide {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .scroll-indicator {
        display: none;
    }

   .hero-about {
       height: 100vh !important;
       /* Use viewport height */
       min-height: 500px !important;
       /* Minimum height for very small devices */
   }

    .mega-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
        margin-bottom: 1rem;
    }

    .lead-text {
        font-size: 1.2rem;
    }

    .diagonal-overlay {
        height: 50px !important;
    }

    .vision-mission-container {
        grid-template-columns: 1fr;
    }

    .floating-stats {
        position: static;
        margin-top: 20px;
    }

    .achievement-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-about {
        min-height: 50vh !important;
    }

    .mega-title {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .lead-text {
        font-size: 1rem;
    }
}