/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 0 auto 3rem;
    color: #eee;
    max-width: 80%;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Solutions Section */
.solutions-section {
    padding: 8rem 5%;
    background-color: var(--bg-grey-alt);
    color: var(--text-muted-dark);
}

.solutions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1650px;
    margin: 0 auto;
    justify-content: center;
}

.solution-card {
    background: var(--bg-light);
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: var(--shadow-soft);
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-medium);
}

.solution-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.solution-info {
    padding: 1.8rem;
}

.solution-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.solution-info p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.learn-more-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.learn-more-link:hover {
    color: var(--color-accent-dark);
    transform: translateX(5px);
}

/* Services Section */
.services-section {
    padding: 8rem 5%;
    background-color: var(--bg-grey);
    color: var(--text-dark);
}

.services-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.group-item {
    background: var(--bg-light);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-soft);
}

.group-item:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-medium);
}

.group-item:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.group-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-grey-alt);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.group-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.group-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted-dark);
}

/* Tab image fallback/cleanup */
.tab-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Stats Banner */
.stats-banner {
    background-color: var(--color-accent);
    padding: 5rem 5%;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 30px 30px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: capitalize;
    opacity: 0.9;
}

/* About Us Section */
.about-section {
    padding: 8rem 5%;
    background-color: var(--bg-grey);
}

.about-section .section-title {
    color: var(--text-dark);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 4.5rem;
    text-align: left;
    letter-spacing: 1.5px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-content {
    text-align: center;
}

.about-content h3 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 800;
}

.about-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted-dark);
}

/* Strategy Section */
.strategy-section {
    padding: 8rem 5%;
    background-color: var(--bg-grey);
}

.strategy-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.strategy-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.strategy-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-muted-dark);
    margin-bottom: 2rem;
}

.strategy-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted-dark);
}

.strategy-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Why Choose Us Section */
.choose-section {
    padding: 8rem 5%;
    background-color: var(--bg-light);
    text-align: center;
    border-top: 1px solid #eee;
}

.choose-section .section-title {
    color: var(--text-dark);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: 1.5px;
}

.choose-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.choose-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.choose-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 10px;
}

.choose-icon img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.choose-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.founder-section {
    padding: 8rem 5%;
    background-color: var(--bg-grey);
}

.founder-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.founder-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-bottom: 8px solid var(--color-accent);
}

.founder-title {
    font-size: 1.1rem;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    display: block;
    margin-bottom: 1rem;
}

.founder-name {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.founder-bio {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-muted-dark);
    margin-bottom: 3.5rem;
}

.leadership-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pillar-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--color-accent);
    transition: var(--transition-normal);
}

.pillar-badge:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.pillar-badge:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.pillar-badge span {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

.pillar-icon {
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 8rem 5%;
    background-color: var(--bg-light);
    text-align: center;
}

.contact-cta-section .section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.cta-red {
    background-color: var(--color-accent);
    color: var(--text-primary);
}

.cta-cream {
    background-color: var(--color-accent-cream);
    color: var(--color-accent);
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid currentColor;
    transition: transform 0.3s ease;
}

.cta-card:hover .arrow-circle {
    transform: translateX(5px);
}

/* Shared Responsiveness */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .choose-grid {
        gap: 3rem;
    }

    .choose-item {
        max-width: 100%;
    }

    .cta-container {
        grid-template-columns: 1fr;
    }

    .cta-card h2 {
        font-size: 2rem;
    }
}

@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-content h3 {
        font-size: 2rem;
    }

    .founder-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .founder-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .strategy-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .strategy-image {
        order: -1;
    }

    .strategy-title {
        font-size: 2.5rem;
    }
}

/* ISO Certifications Section */
.iso-impact-section {
    padding: 8rem 5%;
    background-color: #0c0c0c;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.iso-impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(193, 161, 99, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.iso-impact-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.iso-impact-header {
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.iso-tag {
    color: #c1a163;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1.5rem;
}

.iso-impact-header h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.iso-impact-header p {
    font-size: 1.2rem;
    color: #aaa;
    line-height: 1.6;
}

.iso-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
}

.iso-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(193, 161, 99, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    flex: 1;
    min-width: 0; /* Allow shrinking */
}

.iso-item {
    cursor: pointer;
}

.iso-item:hover {
    background: rgba(193, 161, 99, 0.08);
    border-color: #c1a163;
    transform: translateY(-5px);
}

.iso-item:focus-visible {
    outline: 2px solid #c1a163;
    outline-offset: 3px;
}

.iso-item img {
    height: 120px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(1.2);
}

.iso-item p {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
    margin: 0;
}

/* GRC Specific Badges Row */
.grc-badges-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 4rem 0;
    flex-wrap: wrap;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.grc-badges-row img {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.grc-badges-row img:hover {
    transform: scale(1.1);
}


.grc-standards-banner {
    height: 60px;
    width: auto;
    margin-bottom: 2rem;
    display: block;
}

.iso-banner {
    height: 80px;
    width: auto;
    margin-top: 1rem;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .iso-grid {
        flex-wrap: wrap;
    }
    .iso-item {
        flex: 0 0 calc(33.33% - 2rem);
    }
}

@media (max-width: 768px) {
    .iso-item {
        flex: 0 0 calc(50% - 2rem);
    }
}