/* ===================================
   SS INFOTECH - About Page Styles
   Modern, Premium Design
   =================================== */

/* ===== ROOT VARIABLES ===== */
:root {
    --primary-gradient: linear-gradient(135deg, #0A47A3 0%, #1E90FF 100%);
    --secondary-gradient: linear-gradient(135deg, #1E90FF 0%, #0A47A3 100%);
    --accent-gradient: linear-gradient(135deg, #1E90FF 0%, #0A47A3 100%);
    --light-bg: #F2F6FC;
    --card-bg: #FFFFFF;
    --card-border: rgba(10, 71, 163, 0.15);
    --text-primary: #0A47A3;
    --text-secondary: #6B6B6B;
    --accent-color: #1E90FF;
    --glow-color: rgba(30, 144, 255, 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(10, 71, 163, 0.06);
    --shadow-md: 0 4px 12px rgba(10, 71, 163, 0.08);
    --shadow-lg: 0 6px 20px rgba(10, 71, 163, 0.1);
}

/* ===== ANIMATED BACKGROUND ===== */
.tech-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #F2F6FC 0%, #FFFFFF 100%);
    overflow: hidden;
}

.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(10, 71, 163, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(10, 71, 163, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: circuitMove 20s linear infinite;
}

@keyframes circuitMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.gradient-orbs::before,
.gradient-orbs::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 15s ease-in-out infinite;
}

.gradient-orbs::before {
    width: 400px;
    height: 400px;
    background: var(--primary-gradient);
    top: 10%;
    left: 10%;
}

.gradient-orbs::after {
    width: 500px;
    height: 500px;
    background: var(--secondary-gradient);
    bottom: 10%;
    right: 10%;
    animation-delay: -7s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.badge-glow {
    width: 8px;
    height: 8px;
    background: var(--primary-gradient);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.badge-text {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

/* ===== LOCATION CARD ===== */
.location-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.location-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.location-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 12px;
    flex-shrink: 0;
}

.location-icon svg {
    color: white;
}

.location-details {
    flex: 1;
}

.location-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.location-address {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ===== HERO BUTTONS ===== */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-glow {
    padding: 14px 32px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--glow-color);
}

.btn-outline {
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--card-border);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    background: rgba(30, 144, 255, 0.1);
    transform: translateY(-2px);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ===== GOOGLE MAPS SECTION ===== */
.map-section {
    padding: 80px 0;
    position: relative;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}

.map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--card-border);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 12px;
    flex-shrink: 0;
}

.info-icon svg {
    color: white;
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.info-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.info-text a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.info-text a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* ===== WORK & PRODUCTS SECTION ===== */
.work-products-section {
    padding: 80px 0;
    position: relative;
}

.product-card {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card:hover::before {
    opacity: 0.05;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.product-icon svg {
    color: white;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.product-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.product-glow {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--primary-gradient);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card:hover .product-glow {
    opacity: 0.3;
}

/* ===== ABOUT COMPANY SECTION ===== */
.about-company-section {
    padding: 80px 0;
    position: relative;
}

.team-member-card {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.team-member-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.founder-card {
    border: 2px solid rgba(10, 71, 163, 0.3);
}

.member-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    position: relative;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(10, 71, 163, 0.3);
    position: relative;
    z-index: 1;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: var(--primary-gradient);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.team-member-card:hover .avatar-glow {
    opacity: 0.5;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.member-role {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-socials {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-2px);
    color: white;
}

/* ===== TEAM BANNER ===== */
.team-banner {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.team-banner-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.team-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 16px;
    flex-shrink: 0;
}

.team-icon svg {
    color: white;
}

.team-banner-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.team-banner-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    padding: 80px 0;
    position: relative;
}

.partners-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.partner-item {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    text-align: center;
}

.partner-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.partner-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.partner-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    padding: 80px 0;
    position: relative;
}

.project-card {
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.project-icon-wrapper {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 20px;
    margin-bottom: 24px;
}

.project-icon-wrapper svg {
    color: white;
}

.project-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.project-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.project-stats {
    display: flex;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== THANK YOU SECTION ===== */
.thankyou-section {
    padding: 80px 0 120px;
    position: relative;
}

.thankyou-card {
    padding: 60px 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.thankyou-animation {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 2px solid rgba(30, 144, 255, 0.5);
    border-radius: 50%;
    animation: pulseRing 2s ease-out infinite;
}

.pulse-ring.delay-1 {
    animation-delay: 0.5s;
}

.pulse-ring.delay-2 {
    animation-delay: 1s;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.thankyou-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
    z-index: 1;
}

.thankyou-icon svg {
    color: white;
}

.thankyou-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.thankyou-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 32px;
}

.contact-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.contact-link:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--glow-color);
    color: white;
}

.contact-link svg {
    flex-shrink: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-section {
        padding: 80px 0 60px;
    }

    .work-products-section,
    .about-company-section,
    .partners-section,
    .projects-section,
    .map-section {
        padding: 60px 0;
    }

    .map-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .map-wrapper {
        padding-bottom: 75%;
        /* Taller aspect ratio for tablets */
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-glow,
    .btn-outline {
        width: 100%;
    }

    .location-card {
        flex-direction: column;
        text-align: center;
    }

    .team-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .project-stats {
        justify-content: center;
    }

    .contact-links {
        flex-direction: column;
    }

    .contact-link {
        width: 100%;
        justify-content: center;
    }

    .thankyou-card {
        padding: 40px 24px;
    }

    .thankyou-title {
        font-size: 2rem;
    }

    .map-wrapper {
        padding-bottom: 100%;
        /* Square aspect ratio for mobile */
    }

    .info-card {
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding: 60px 0 40px;
    }

    .work-products-section,
    .about-company-section,
    .partners-section,
    .projects-section,
    .thankyou-section,
    .map-section {
        padding: 40px 0;
    }

    .product-card,
    .team-member-card,
    .project-card {
        padding: 24px;
    }

    .partners-carousel {
        grid-template-columns: 1fr;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {

    .tech-background,
    .hero-buttons,
    .contact-links {
        display: none;
    }

    .hero-section,
    .work-products-section,
    .about-company-section,
    .partners-section,
    .projects-section,
    .thankyou-section {
        padding: 20px 0;
    }
}