/* ============================================
   INDEX PAGE - HOME CUSTOM STYLING
   ============================================ */

/* Root Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #d4af37;
    --accent-color: #e8b86d;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

/* Home Header Video Styles */
.content-block.page-header-block {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.home-header {
    position: relative;
    width: 100%;
    height: 100%;
}

#header-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.down-arrow .arrow {
    width: 30px;
    height: 30px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(-45deg);
    }

    40% {
        transform: translateY(-20px) rotate(-45deg);
    }

    60% {
        transform: translateY(-10px) rotate(-45deg);
    }
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(232, 184, 109, 0.05) 100%);
    border-radius: 50% 0 0 50%;
    z-index: 0;
}

.welcome-section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.welcome-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.welcome-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Services Highlight */
.services-highlight {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary-color);
}

.highlight-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.expertise-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fdfdfd;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.expertise-item:hover {
    background: var(--white);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.3);
}

.expertise-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.expertise-item:hover .expertise-icon {
    transform: rotate(5deg) scale(1.1);
}

.expertise-content {
    flex: 1;
}

.expertise-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Roboto Condensed', sans-serif;
}

.expertise-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Statistics Bar */
.statistics-bar {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: #fff !important;
}

/* Button */
.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn-read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
    color: var(--white);
}

.btn-read-more:hover::before {
    left: 100%;
}

.btn-read-more i {
    transition: var(--transition);
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

/* Trust Highlights Cards */
.trust-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trust-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.trust-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.trust-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.trust-desc {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

/* Offerings Section */
.offerings-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.offerings-section .section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.offerings-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
}

.offerings-grid {
    margin-top: 3rem;
}

.offering-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.offering-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(232, 184, 109, 0.1) 100%);
    transition: var(--transition);
    z-index: 0;
}

.offering-item:hover::before {
    height: 100%;
}

.offering-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.offering-icon-box {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.offering-item:hover .offering-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.offering-icon-box i {
    font-size: 2.5rem;
    color: var(--white);
}

.offering-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.offering-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

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

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

.welcome-section .row>div,
.offering-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.welcome-section .row>div:nth-child(1) {
    animation-delay: 0.1s;
}

.welcome-section .row>div:nth-child(2) {
    animation-delay: 0.2s;
}

.offering-item:nth-child(1) {
    animation-delay: 0.1s;
}

.offering-item:nth-child(2) {
    animation-delay: 0.2s;
}

.offering-item:nth-child(3) {
    animation-delay: 0.3s;
}

.offering-item:nth-child(4) {
    animation-delay: 0.4s;
}

.offering-item:nth-child(5) {
    animation-delay: 0.5s;
}

.offering-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1.3rem;
    }

    .statistics-bar {
        flex-direction: column;
        gap: 2rem;
    }

    .trust-highlights {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .offerings-section {
        padding: 60px 0;
    }

    .offerings-section .section-title {
        font-size: 2rem;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Make specific items span larger areas to create the collage effect */
.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 2;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.1);
}

/* Center Overlay Text Block Removed */

/* Gallery Modal Customization */
.gallery-modal .modal-content {
    background-color: transparent;
    border: none;
}

.gallery-modal .modal-body {
    padding: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-modal-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.gallery-modal .btn-close {
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 1056;
    background-color: var(--white);
    opacity: 1;
    border-radius: 50%;
    padding: 0.5rem;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-center-content {
        padding: 1.5rem 2rem;
        width: 90%;
    }

    .gallery-title {
        font-size: 1.8rem;
    }
}