
/* HERO WRAPPER - Homepage specific */
.header-wrapper {
  color: white;
 
  width: 100%;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow: hidden;
}

    
/* HERO SLIDESHOW SECTION - Sub-Companies Specific */
.hero-slideshow {
    
    height: 80vh;
    overflow: hidden;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 50px;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 600px;
    color: white;
    z-index: 5;
    animation: fadeInUp 1s ease;
}
.slide_child{
    display: flex; gap: 3rem; margin-left: 4rem; align-items: center; justify-content: center ;
}

.slide-logo {
    width: 120px;
    margin-bottom: 20px;
}

.slide h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide hr {
    width: 1px;
    height: 150px;
    margin: 20px 0;
    background: white;
    border: none;
}

.slide p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.slide button {
    padding: 12px 30px;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    font-family: "Poppins", sans-serif;
}

.slide button:hover {
    background: var(--primary);
    color: white;
}

.slide-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slide-dot.active {
    background: white;
}

/* MAIN CONTENT LAYOUT */
main {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Company Content */
.company-content {
    animation: fadeIn 1s ease;
}

.intro-section {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 20px;
}

.intro-section h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.intro-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    color: #555;
}

.company-section {
    margin-bottom: 100px;
    scroll-margin-top: 100px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.company-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.company-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.company-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.company-title {
    color: var(--primary);
    font-size: 2.2rem;
}

.company-subtitle {
    color: #666;
    font-size: 1.2rem;
    font-weight: 500;
}

.company-overview {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.company-overview h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.company-overview p {
    line-height: 1.8;
    color: #555;
}

.company-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision-mission, .values-services {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.vision-mission h3, .values-services h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vision-mission h3 i, .values-services h3 i {
    color: var(--accent);
}

.vision-mission p, .values-services p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.values-list, .services-list {
    list-style: none;
}

.values-list li, .services-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.values-list li:last-child, .services-list li:last-child {
    border-bottom: none;
}

.values-list li i, .services-list li i {
    color: var(--accent);
}

.company-media {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.media-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.media-item:hover {
    transform: translateY(-5px);
}

.media-item img, .media-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.media-caption {
    padding: 15px;
    background: white;
}

.media-caption h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.media-caption p {
    color: #666;
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.cta-btn {
    padding: 12px 25px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
    display: inline-block;
}

.cta-btn:hover {
    background: var(--primary-light);
}

.cta-btn.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.cta-btn.secondary:hover {
    background: var(--primary);
    color: white;
}

/* RIGHT SIDEBARS */
.sidebars-container {
    position: relative;
}

.sidebar {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
    transition: top 0.3s ease;
}

.sidebar h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.quick-nav {
    list-style: none;
}

.quick-nav li {
    margin-bottom: 15px;
}

.quick-nav a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 5px;
}

.quick-nav a:hover, .quick-nav a.active {
    background: var(--primary);
    color: white;
}

.quick-nav i {
    font-size: 0.9rem;
}

.upcoming-projects .project-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.project-item h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.project-item p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.project-item .status {
    display: inline-block;
    padding: 3px 10px;
    background: #e9f5ff;
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.social-sidebar {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-3px);
    background-color: var(--primary-light);
}

.social-links i {
    color: white;
    font-size: 1.2rem;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sidebars-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 992px) {
    .company-details {
        grid-template-columns: 1fr;
    }
    
    .company-media {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-slideshow {
        height: 80vh;
    }
    
    .slide {
        padding: 0 20px;
        justify-content: center;
        text-align: center;
    }
    
    .slide-content {
        max-width: 100%;
    }
    
    .slide h1 {
        font-size: 2.2rem;
    }
    
    .slide hr {
        margin: 20px auto;
    }
    
    main {
        padding: 50px 15px;
    }
    
    .sidebars-container {
        grid-template-columns: 1fr;
    }
    
    .intro-section h2 {
        font-size: 2rem;
    }
    
    .company-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .slide h1 {
        font-size: 1.8rem;
    }
    
    .intro-section h2 {
        font-size: 1.8rem;
    }
    
    .company-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .company-title {
        font-size: 1.6rem;
    }
}