/* Website 171 - Teal Wave Floating Style */
/* Layout Type: floating-cards */

:root {
    --primary-color: #0d9488;
    --secondary-color: #14b8a6;
    --accent-color: #f0fdfa;
    --text-color: #134e4a;
    --background: #ccfbf1;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #0d9488;
    
    box-shadow: 0 2px 20px var(--shadow);
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

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

.nav-menu li a {
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    color: #ffffff;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 30px 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--background) 0%, #f0fdfa 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, #f0fdfa 0%, transparent 70%);
    opacity: 0.5;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 20px;
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 10px 30px #0d948840;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px #0d948850;
}

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

/* Section Styles */
.section {
    padding: 80px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-color);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
}

.card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card p {
    font-size: 16px;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.7;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    max-width: 350px;
    margin: 0 30px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    top: 30px;
    right: -10px;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -10px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 30px;
    text-align: center;
    color: #ffffff;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    padding: 16px 50px;
    background: #ffffff;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Contact Section */
.contact-section {
    background: var(--white);
    padding: 80px 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background: var(--background);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #ffffff;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-color);
    font-weight: 600;
}

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

.footer p {
    opacity: 0.8;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-right: 0;
        padding-left: 50px;
    }

    .timeline-item:nth-child(even) {
        padding-left: 50px;
    }

    .timeline-content {
        margin: 0 0 0 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* Layout-Specific Styles */
/* Floating Cards Layout */
.floating-cards .card {
    animation: float 6s ease-in-out infinite;
}

.floating-cards .card:nth-child(2) {
    animation-delay: -2s;
}

.floating-cards .card:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Split Hero Layout */
.split-hero .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 50px;
}

.split-hero .hero-content {
    flex: 1;
}

.split-hero .hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-visual-box {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: rgba(255,255,255,0.3);
}

@media (max-width: 992px) {
    .split-hero .hero {
        flex-direction: column;
        text-align: center;
    }
}

/* 3D Card Effect */
.card-3d .card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.5s ease;
}

.card-3d .card:hover {
    transform: rotateY(5deg) rotateX(5deg) translateY(-10px);
}

.card-3d .card-content {
    transform: translateZ(30px);
}

/* Circular Features */
.circular-features {
    position: relative;
    height: 600px;
    max-width: 1000px;
    margin: 0 auto;
}

.circular-features .center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 300px;
    z-index: 2;
}

.circular-features .feature-item {
    position: absolute;
    width: 200px;
    text-align: center;
}

.circular-features .feature-item:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.circular-features .feature-item:nth-child(2) { top: 15%; right: 5%; }
.circular-features .feature-item:nth-child(3) { bottom: 15%; right: 5%; }
.circular-features .feature-item:nth-child(4) { bottom: 0; left: 50%; transform: translateX(-50%); }
.circular-features .feature-item:nth-child(5) { bottom: 15%; left: 5%; }
.circular-features .feature-item:nth-child(6) { top: 15%; left: 5%; }

@media (max-width: 992px) {
    .circular-features { height: auto; }
    .circular-features .feature-item { position: relative; left: auto !important; right: auto !important; transform: none !important; margin: 20px auto; }
    .circular-features .center-content { position: relative; top: auto; left: auto; transform: none; }
}

/* Hexagonal Grid */
.hexagonal-grid .card {
    clip-path: polygon(5% 0, 100% 0, 100% 95%, 95% 100%, 0 100%, 0 5%);
}

.hexagonal-grid .card-icon {
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}

/* Sidebar Layout */
.sidebar-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
}

.sidebar {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 10px 40px var(--shadow);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li { margin-bottom: 8px; }

.sidebar-menu a {
    display: block;
    padding: 14px 20px;
    border-radius: 12px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
}

.sidebar h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

@media (max-width: 992px) {
    .sidebar-layout { grid-template-columns: 1fr; }
    .sidebar { position: relative; top: 0; }
    .sidebar-menu { display: flex; flex-wrap: wrap; gap: 10px; }
    .sidebar-menu li { margin-bottom: 0; }
}

/* Layered Parallax */
.layered-parallax .hero {
    perspective: 1000px;
    overflow: hidden;
}

.layered-parallax .hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    right: -100px;
    bottom: -100px;
    background: radial-gradient(circle at 30% 50%, var(--accent-color), transparent 70%);
    opacity: 0.6;
    animation: parallax 20s linear infinite;
}

.layered-parallax .hero::after {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    right: -150px;
    bottom: -150px;
    background: radial-gradient(circle at 70% 80%, rgba(255,255,255,0.3), transparent 60%);
    opacity: 0.4;
    animation: parallax 25s linear infinite reverse;
}

@keyframes parallax {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Dashboard Stats */
.dashboard-stats .hero {
    text-align: left;
}

.dashboard-stats .hero-content {
    max-width: 100%;
}

.dashboard-stats .stats-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.dashboard-stats .stat-card {
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    backdrop-filter: blur(10px);
}

.dashboard-stats .stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.dashboard-stats .stat-label {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 5px;
}

.dashboard-stats .stat-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

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

@media (max-width: 576px) {
    .dashboard-stats .stats-overview { grid-template-columns: 1fr; }
}

/* Timeline Step Layout */
.timeline-step .timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1200px;
}

.timeline-step .timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.timeline-step .timeline-item {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.timeline-step .timeline-dot {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.timeline-step .timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

@media (max-width: 768px) {
    .timeline-step .timeline { flex-direction: column; gap: 30px; }
    .timeline-step .timeline::before { display: none; }
}

/* Masonry Grid */
.masonry-grid { column-count: 3; column-gap: 30px; }
.masonry-grid .card { break-inside: avoid; margin-bottom: 30px; }

@media (max-width: 992px) {
    .masonry-grid { column-count: 2; }
}

@media (max-width: 768px) {
    .masonry-grid { column-count: 1; }
}
