/*
 * semity Enterprise - Company Profile Inspired Styles
 * Supports Light/Dark mode
 * Decorative elements, icons, and professional design
 */

/* ============================================
   DECORATIVE ELEMENTS - Mountains & Shapes
   ============================================ */

.mountain-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23e2e8f0" fill-opacity="0.3" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,218.7C672,235,768,245,864,234.7C960,224,1056,192,1152,181.3C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .mountain-bg {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%231e293b" fill-opacity="0.5" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,218.7C672,235,768,245,864,234.7C960,224,1056,192,1152,181.3C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
}

.curved-line {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.curved-line::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.1;
    transform: rotate(-5deg);
    top: 50%;
    left: -50%;
}

/* ============================================
   ICON CIRCLES - Like Company Profile
   ============================================ */

.icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.icon-circle::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 3px solid;
    border-color: inherit;
    opacity: 0.3;
}

.icon-circle:hover {
    transform: scale(1.1);
}

.icon-circle.red {
    background: linear-gradient(135deg, #E8400A, #F05A1A);
    border-color: #E8400A;
    color: white;
}

.icon-circle.green {
    background: linear-gradient(135deg, #2B8C5A, #22704A);
    border-color: #2B8C5A;
    color: white;
}

.icon-circle.yellow {
    background: linear-gradient(135deg, #F7941D, #FBAB3A);
    border-color: #F7941D;
    color: white;
}

.icon-circle.blue {
    background: linear-gradient(135deg, #5a8ad8, #1E3A6E);
    border-color: #5a8ad8;
    color: white;
}

.icon-circle.cyan {
    background: linear-gradient(135deg, #3D5FA8, #5a8ad8);
    border-color: #3D5FA8;
    color: white;
}

.icon-circle.purple {
    background: linear-gradient(135deg, #F7941D, #E8400A);
    border-color: #F7941D;
    color: white;
}

/* Small icon circles */
.icon-circle-sm {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.icon-circle-sm::before {
    inset: -3px;
    border-width: 2px;
}

/* ============================================
   FEATURE CARDS - Professional Style
   ============================================ */

.feature-card-pro {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card-pro:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card-pro:hover::before {
    transform: scaleX(1);
}

[data-theme="dark"] .feature-card-pro {
    background: var(--bg-secondary);
}

/* ============================================
   TIMELINE - Professional Company Style
   ============================================ */

.timeline-pro {
    position: relative;
    padding: 2rem 0;
}

.timeline-pro::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
    opacity: 0.3;
}

.timeline-item-pro {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item-pro .timeline-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    z-index: 2;
}

.timeline-item-pro .timeline-content {
    padding: 1.5rem;
}

.timeline-item-pro:nth-child(odd) .timeline-content:first-child {
    text-align: right;
}

.timeline-item-pro:nth-child(even) .timeline-content:last-child {
    text-align: left;
}

/* ============================================
   SECTION HEADERS - Company Profile Style
   ============================================ */

.section-header-pro {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header-pro h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header-pro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-header-pro::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* ============================================
   WHY CHOOSE US - Three Pillars Style
   ============================================ */

.pillars-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.pillar-item {
    text-align: center;
    position: relative;
}

.pillar-item .icon-circle {
    margin: 0 auto 1.5rem;
}

.pillar-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.pillar-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Connecting line between pillars */
.pillars-container::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 16.66%;
    right: 16.66%;
    height: 3px;
    background: linear-gradient(90deg, #5a8ad8, #3D5FA8, #1E3A6E);
    opacity: 0.3;
    z-index: 0;
}

/* ============================================
   MISSION VISION VALUES - Circle Style
   ============================================ */

.mvv-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mvv-item {
    text-align: center;
    padding: 2rem;
}

.mvv-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
}

.mvv-circle::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 3px solid;
    border-color: inherit;
    opacity: 0.4;
}

.mvv-circle.mission {
    background: linear-gradient(135deg, rgba(43, 161, 216, 0.1), rgba(43, 161, 216, 0.2));
    border-color: #5a8ad8;
    color: #5a8ad8;
}

.mvv-circle.vision {
    background: linear-gradient(135deg, rgba(43, 161, 216, 0.1), rgba(43, 161, 216, 0.2));
    border-color: #5a8ad8;
    color: #5a8ad8;
}

.mvv-circle.values {
    background: linear-gradient(135deg, rgba(43, 161, 216, 0.1), rgba(43, 161, 216, 0.2));
    border-color: #5a8ad8;
    color: #5a8ad8;
}

.mvv-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.mvv-item.mission h3 { color: #5a8ad8; }
.mvv-item.vision h3 { color: #5a8ad8; }
.mvv-item.values h3 { color: #5a8ad8; }

/* ============================================
   SERVICE CARDS - Company Profile Style
   ============================================ */

.service-card-pro {
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
}

.service-card-pro .service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-card-pro .service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7));
}

.service-card-pro .service-content {
    padding: 1.5rem;
}

.service-card-pro:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .service-card-pro {
    background: var(--bg-secondary);
}

/* ============================================
   TEAM SECTION - Photo Cards
   ============================================ */

.team-card-pro {
    text-align: center;
    position: relative;
}

.team-card-pro .photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.team-card-pro .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card-pro:hover .photo img {
    transform: scale(1.1);
}

.team-card-pro .photo::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 4px solid;
    border-color: var(--primary-color);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.team-card-pro:hover .photo::before {
    opacity: 1;
}

.team-card-pro .label {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* ============================================
   PARTNERS/CLIENTS LOGOS
   ============================================ */

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.partner-logo {
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    max-height: 60px;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* ============================================
   SWOT ANALYSIS STYLE
   ============================================ */

.swot-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    max-width: 600px;
}

.swot-letter {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.swot-letter.s { background: linear-gradient(135deg, #5a8ad8, #1E3A6E); }
.swot-letter.w { background: linear-gradient(135deg, #5a8ad8, #3D5FA8); }
.swot-letter.o { background: linear-gradient(135deg, #5a8ad8, #1E3A6E); }
.swot-letter.t { background: linear-gradient(135deg, #5a8ad8, #3D5FA8); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .pillars-container,
    .mvv-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pillars-container::before {
        display: none;
    }
    
    .timeline-item-pro {
        grid-template-columns: auto 1fr;
    }
    
    .timeline-item-pro > div:first-child:empty {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-header-pro h2 {
        font-size: 1.75rem;
    }
    
    .icon-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* ============================================
   CREATIVE ELEMENTS - More Visual Appeal
   ============================================ */

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.floating-shapes .shape:nth-child(1) {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #5a8ad8, #3D5FA8);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.floating-shapes .shape:nth-child(2) {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #5a8ad8, #3D5FA8);
    bottom: 10%;
    left: -50px;
    animation-delay: -5s;
}

.floating-shapes .shape:nth-child(3) {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #5a8ad8, #3D5FA8);
    top: 40%;
    right: 10%;
    animation-delay: -10s;
}

.floating-shapes .shape:nth-child(4) {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #5a8ad8, #3D5FA8);
    bottom: 20%;
    right: 30%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(5deg); }
    50% { transform: translate(-10px, 10px) rotate(-5deg); }
    75% { transform: translate(15px, 15px) rotate(3deg); }
}

/* Gradient Mesh Background */
.gradient-mesh {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .gradient-mesh {
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.05) 0%, transparent 40%);
}

/* Creative Image Cards */
.creative-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.creative-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.creative-card:hover::before {
    transform: scaleX(1);
}

.creative-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.creative-card:hover::after {
    opacity: 1;
}

.creative-card:hover {
    transform: translateY(-15px) rotateX(2deg);
    box-shadow: 0 40px 80px rgba(37, 99, 235, 0.2);
}

.creative-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.creative-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
}

.creative-card-content {
    padding: 2rem;
}

.creative-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -55px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Hexagon Grid */
.hex-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0;
}

.hex-item {
    width: 180px;
    height: 200px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all 0.3s ease;
}

.hex-item:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.hex-item:hover * {
    color: white !important;
}

/* Glowing Border Cards */
.glow-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
}

.glow-card::before {
    display: none;
}

.glow-card::after {
    display: none;
}

.glow-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(43, 161, 216, 0.2);
    border: 2px solid var(--primary-color);
}

/* Image Gallery with Overlap */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 2rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Stats with Animated Counter Background */
.stat-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary-color), transparent);
    animation: stat-rotate 4s linear infinite;
    opacity: 0.05;
}

@keyframes stat-rotate {
    100% { transform: rotate(360deg); }
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* Decorative Dots Pattern */
.dots-pattern {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, var(--primary-color) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
}

.dots-pattern.top-left { top: 2rem; left: 2rem; }
.dots-pattern.top-right { top: 2rem; right: 2rem; }
.dots-pattern.bottom-left { bottom: 2rem; left: 2rem; }
.dots-pattern.bottom-right { bottom: 2rem; right: 2rem; }

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    overflow: hidden;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* Blob Shapes */
.blob {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blob-morph 8s ease-in-out infinite;
    opacity: 0.1;
}

@keyframes blob-morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50% { border-radius: 60% 40% 30% 70% / 50% 60% 50% 40%; }
}

/* Animated Background Lines */
.animated-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.animated-lines .line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    opacity: 0.1;
    animation: line-move 10s linear infinite;
}

.animated-lines .line:nth-child(1) { left: 10%; animation-delay: 0s; }
.animated-lines .line:nth-child(2) { left: 30%; animation-delay: -2s; }
.animated-lines .line:nth-child(3) { left: 50%; animation-delay: -4s; }
.animated-lines .line:nth-child(4) { left: 70%; animation-delay: -6s; }
.animated-lines .line:nth-child(5) { left: 90%; animation-delay: -8s; }

@keyframes line-move {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
