/* Granalytich Solutions - Layout Styles */

/* Navigation */
.navbar {
    /* background-color: white; -- Removed to allow transparent header */
    padding: 15px 0;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); -- Removed for clean transparent header */
    position: relative;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

/* Circle Badge Logo Icon */
.logo-icon-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(46, 90, 138, 0.3);
    transition: all 0.3s ease;
}

.logo-icon {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 25px;
}

.logo-bar {
    width: 4px;
    background: white;
    border-radius: 2px 2px 0 0;
    transition: all 0.3s ease;
}

.logo-bar:nth-child(1) { height: 40%; }
.logo-bar:nth-child(2) { height: 55%; }
.logo-bar:nth-child(3) { height: 70%; }
.logo-bar:nth-child(4) { height: 85%; }
.logo-bar:nth-child(5) { height: 100%; }

.logo:hover .logo-icon-wrapper {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(46, 90, 138, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.logo-text-main {
    font-size: 26px;
    font-weight: 700;
    color: #b8b8b8;
    letter-spacing: 0.75px;
}

.logo-text-main .highlight {
    color: var(--primary-navy);
    font-weight: 700;
}

.logo-text-sub {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-gray);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 4px;
}

.logo-text-tagline {
    font-size: 8px;
    font-weight: 500;
    color: var(--accent-gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 3px;
    opacity: 0.7;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    height: 85vh;
    /* background: black; -- Removed to allow video background to show */
    display: flex;
    align-items: center;
    /* justify-content: center; -- Removed for left alignment */
    /* text-align: center; -- Removed for left alignment */
    color: white;
    position: relative;
    overflow: hidden;
}

/* Video Container for carousel */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-video.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

/* Diagonal transition removed
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--light-gray);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
} */

.hero-content {
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
}

.hero-badge {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-black);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-heading);
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background-color: var(--white);
}

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

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

/* About Section */
.about-section {
    padding: 120px 0;
    background-color: white;
}

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

.about-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-heading);
    letter-spacing: var(--letter-spacing-heading);
    color: var(--light-gray);
    margin-bottom: 20px;
}

.about-title .highlight {
    color: var(--primary-navy);
    font-weight: 700;
}

.about-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    text-align: left;
}

.mission-box {
    background: white;
    border: 2px solid var(--primary-navy);
    color: var(--text-dark);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(74, 123, 184, 0.1);
}

.values-box {
    background: white;
    border: 2px solid var(--primary-navy);
    color: var(--text-dark);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(74, 123, 184, 0.1);
}

.box-title {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-heading);
    letter-spacing: var(--letter-spacing-heading);
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.mission-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.values-list {
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block;
    margin: 0 auto;
}

.values-list li {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.values-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.credentials-row {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
    text-align: left;
}

.credentials-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.credentials-text {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Projects Section */
.projects-section {
    padding: 120px 0;
    background-color: white;
}

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

.section-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-heading);
    letter-spacing: var(--letter-spacing-heading);
    color: var(--light-gray);
    text-align: center;
    margin-bottom: 40px;
}

.section-title .highlight {
    color: var(--primary-navy);
    font-weight: 700;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Leadership Section */
.leadership-section {
    padding: 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
    color: white;
    min-height: 600px;
}

.leadership-container {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

.leadership-content {
    display: flex !important;
    min-height: 600px !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
}

.leadership-sidebar {
    width: 33.33% !important;
    background: rgba(0,0,0,0.3) !important;
    padding: 3rem 1rem !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.leadership-main {
    flex: 1 !important;
    padding: 3rem 4rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: left !important;
}

.leadership-main-inner {
    max-width: 800px;
    margin: 0 auto;
}

.leadership-main h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.profile-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-bottom: 2rem;
    border: 4px solid var(--accent-gold);
    object-fit: cover;
    object-position: center 20%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.sidebar-name {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    color: white;
}

.sidebar-title {
    color: white;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.sidebar-experience {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    text-align: center;
}

.bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background-color: var(--white);
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 40px;
}

.contact-info h4 {
    color: var(--primary-navy);
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.contact-item .contact-icon {
    color: var(--accent-gold);
    margin-right: 15px;
    font-size: 18px;
    min-width: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-logo {
    margin-top: 30px;
    text-align: center;
    padding: 20px 0;
    border-top: 3px solid var(--accent-gold);
}

.contact-logo img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    margin: 20px auto;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--primary-navy);
    color: white;
    text-align: center;
    padding: 40px 0;
}

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

/* Modern Minimalist Hero Style */
.hero-minimalist {
    background: #ffffff;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 60px;
}

.hero-minimalist .hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-minimalist .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-minimalist .hero-title {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--light-gray);
}

.hero-minimalist .hero-title .highlight-blue {
    color: var(--primary-navy);
    font-weight: 600;
}

.hero-minimalist .hero-title .highlight-accent {
    color: var(--primary-navy);
    font-weight: 600;
}

.hero-minimalist .hero-title .project-controls-text {
    color: var(--light-gray);
    font-weight: 400;
}

.hero-minimalist .hero-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: var(--accent-gray);
    margin-bottom: 50px;
    font-weight: 400;
}

.hero-minimalist .hero-stats {
    display: flex;
    gap: 55px;
    margin-bottom: 40px;
}

.hero-minimalist .stat-item {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
    flex: 0 0 140px;
}

.hero-minimalist .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-blue);
    line-height: 1;
}

.hero-minimalist .stat-label {
    font-size: 12px;
    color: var(--accent-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
}

.hero-minimalist .video-showcase {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    height: 500px;
}

/* Video Carousel Styles for Minimalist Hero */
.hero-minimalist .video-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 40px;
    overflow: hidden;
    background: #000;
}

.hero-minimalist .carousel-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-minimalist .carousel-video.active {
    opacity: 1;
}

/* Specific styling for orbit video - zoom in and shift down */
.hero-minimalist .carousel-video.orbit-video {
    transform: scale(1.2) translateY(8%);
    object-position: center 65%;
}

/* Specific styling for first video - zoom in and lower by 8% */
.hero-minimalist .carousel-video.first-video {
    transform: scale(1.23) translateY(8%);
    object-position: center 65%;
    animation: fadeInOnLoad 2s ease-out;
}

/* Gentle fade-in animation for first video on page load */
@keyframes fadeInOnLoad {
    0% {
        opacity: 0;
        transform: scale(1.2) translateY(8%);
    }
    100% {
        opacity: 1;
        transform: scale(1.23) translateY(8%);
    }
}

/* Modern Header for White Background */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1000 !important;
    padding: 15px 0 !important;
    transition: all 0.3s ease !important;
}

/* Override nav container for modern layout */
.navbar .nav-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 60px !important;
}

.navbar .logo {
    position: relative !important;
}

/* Update logo text color for white background */
.navbar .logo-text-main {
    color: var(--light-gray) !important;
}

.navbar .logo-text-sub,
.navbar .logo-text-tagline {
    color: var(--accent-gray) !important;
}

/* Navigation menu styling for white background */
.navbar .nav-menu a {
    color: var(--text-dark) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.navbar .nav-menu a:hover {
    color: var(--secondary-blue) !important;
}

/* Mobile menu button for white background */
.navbar .mobile-nav-toggle span {
    background: var(--text-dark) !important;
    box-shadow: none !important;
}

/* Mobile responsiveness for minimalist hero */
@media (max-width: 1024px) {
    .hero-minimalist {
        padding: 0 40px;
    }
    
    .hero-minimalist .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-minimalist .hero-content {
        order: 2;
    }

    .hero-minimalist .video-showcase {
        order: 1;
    }
}

@media (max-width: 768px) {
    .hero-minimalist {
        padding: 0 20px;
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-minimalist .hero-container {
        gap: 40px;
    }

    .hero-minimalist .video-container {
        height: 300px;
        border-radius: 20px;
    }

    .hero-minimalist .video-showcase {
        height: 300px;
        border-radius: 20px;
    }

    .hero-minimalist .hero-stats {
        justify-content: center;
        gap: 55px;
    }
    
    .hero-minimalist .stat-item {
        min-width: 120px;
        flex: 0 0 120px;
    }
}