/* About page specific styles */

/* Hero Section */
.about-hero {
    background: linear-gradient(to bottom right, #333, #555), url('assets/about-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 20px 20px 50px;
    text-align: center;
    margin-top: 100px;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 15px;
}

.about-hero .highlight {
    color: #4dd0e1;
    font-weight: 700;
}

.about-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.6;
}

/* About Sections */
.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 10%;
    gap: 30px;
    margin-bottom: 40px;
}

.about-section:first-of-type {
    gap: 60px;

}

.about-section.reverse {
    flex-direction: row-reverse;
}

.about-section:first-of-type .about-image {
    flex: 0.5;
}

.about-text {
    flex: 0.8;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.about-image {
    flex: 0.8;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.2);
}

/* Specific image sizing */
.about1-img {
    width: 100%;
    max-width: 900px;
}

.about2-img {
    width: 90%;
    max-width: 900px;
}

.ceo-img {
    width: 50%;
    max-width: 400px;
}

/* Product Section Styles */
.product-section {
    padding: 20px 10%;
    padding-bottom: 40px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    right: -100px;
    bottom: -100px;
    background-image:
        radial-gradient(circle 120px at 20% 30%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 70%),
        radial-gradient(circle 100px at 80% 20%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.08) 50%, transparent 70%),
        radial-gradient(circle 80px at 15% 80%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.06) 50%, transparent 70%),
        radial-gradient(circle 90px at 85% 70%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    pointer-events: none;
    animation: floatElements 12s ease-in-out infinite;
}

.product-section::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: floatCircle1 8s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.product-section .floating-shape-1 {
    position: absolute;
    top: 20%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.15));
    transform: rotate(45deg);
    animation: floatShape1 10s ease-in-out infinite reverse;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.product-section .floating-shape-2 {
    position: absolute;
    bottom: 25%;
    left: 8%;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    animation: floatShape2 14s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

@keyframes floatElements {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-25px) rotate(2deg) scale(1.1);
    }

    50% {
        transform: translateY(15px) rotate(-2deg) scale(0.9);
    }

    75% {
        transform: translateY(-10px) rotate(1deg) scale(1.05);
    }
}

@keyframes floatCircle1 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    33% {
        transform: translateY(-30px) translateX(20px) scale(1.2);
    }

    66% {
        transform: translateY(20px) translateX(-15px) scale(0.8);
    }
}

@keyframes floatShape1 {

    0%,
    100% {
        transform: translateY(0px) rotate(45deg) scale(1);
    }

    50% {
        transform: translateY(-40px) rotate(90deg) scale(1.3);
    }
}

@keyframes floatShape2 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    25% {
        transform: translateY(25px) translateX(30px) scale(1.1);
    }

    75% {
        transform: translateY(-20px) translateX(-20px) scale(0.9);
    }
}

.product-hero-content {
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

/* --- Project Somni Title Upgrade --- */
.product-hero-content h2 {
    font-size: 42px;
    font-weight: 600;
    color: #222;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.product-hero-content h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #000000;
    margin: 12px auto 0;
    border-radius: 2px;
}

.product-hero-content .highlight {
    color: #4dd0e1;
    font-weight: 700;
}

.product-hero-content h3 {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: #444;
    max-width: 1000px;
    /* increase width */
    margin: 0 auto;
}

.product-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.product-features {
    flex: 1;
    text-align: left;
}

.product-features h3 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 25px;
    color: #333;
}

.product-features .highlight {
    color: #4dd0e1;
    font-weight: 700;
}

.product-bullets {
    list-style: none;
    padding: 0;
}

.product-bullets li {
    padding: 12px 0;
    font-size: 16px;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.product-bullets li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4dd0e1;
    font-weight: bold;
    font-size: 18px;
}

.product-media {
    flex: 1;
    text-align: center;
}

.product-media img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-media img:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.2);
}

.product-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #4dd0e1;
    color: white;
    border-color: #4dd0e1;
}

.btn-primary:hover {
    background: #26c6da;
    border-color: #26c6da;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: #4dd0e1;
    border-color: #4dd0e1;
}

.btn-ghost:hover {
    background: #4dd0e1;
    color: white;
    transform: translateY(-2px);
}

/* Team Section */
.team-section {
    text-align: center;
    padding: 10px 50px 60px;
    background: #f9f9f9;
}

.team-section .highlight {
    color: #4dd0e1;
    font-weight: 700;
}

/* --- Meet the Team Title Upgrade --- */
.team-section h2 {
    font-size: 36px;
    font-weight: 600;
    color: #222;
    margin-bottom: 60px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.team-section h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #000000;
    margin: 12px auto 0;
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.team-card img {
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.team-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.team-card p {
    color: #777;
    font-size: 14px;
    margin: 0;
}

.tbd-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 200px;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    color: #888;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 900px) {
    .about-section {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 40px 5%;
        padding-bottom: 70px;
    }

    .about-section.reverse {
        flex-direction: column;
    }

    .about-hero {
        padding: 80px 20px 40px;
        margin-top: 60px;
    }

    .about-hero h1 {
        font-size: 36px;
    }

    .about-hero p {
        font-size: 16px;

    }

    .about-text h2 {
        font-size: 28px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .team-section {
        padding: 40px 5%;
    }

    .product-section {
        padding: 60px 5%;
    }

    .product-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .product-features {
        text-align: center;
    }

    .product-hero-content h2 {
        font-size: 30px;
    }

    .product-features h3 {
        font-size: 24px;
    }

    .product-ctas {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 200px;
    }
}

@media (max-width: 600px) {
    .about-hero h1 {
        font-size: 28px;
    }

    .about-text h2 {
        font-size: 24px;
    }

    .about-section {
        padding: 30px 5%;
    }

    .team-section h2 {
        font-size: 28px;
    }

    .product-content {
        padding: 25px 15px;
        border-radius: 15px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }

    .product-hero-content h2 {
        font-size: 26px;
    }

    .product-hero-content p {
        font-size: 16px;
    }

    .product-features h3 {
        font-size: 22px;
    }

    .product-bullets li {
        font-size: 15px;
    }
}