/* 
 * undressingSG.site - Main Stylesheet
 * A modern theme for Singapore site with teal-blue gradient design
 */

/* Global Variables */
:root {
    --primary: #0466C8;
    --secondary: #0DD3B9;
    --accent: #7209B7;
    --dark: #001233;
    --light: #F8F9FA;
    --gray: #6C757D;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

section {
    padding: 80px 0;
    position: relative;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(13, 211, 185, 0.2);
    z-index: -1;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(4, 102, 200, 0.3);
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(4, 102, 200, 0.4);
    color: white;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid var(--primary);
    cursor: pointer;
    text-align: center;
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: rgba(4, 102, 200, 0.1);
    transform: translateY(-3px);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-nav {
    background-color: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
}

.btn-nav:hover {
    background-color: var(--secondary);
    color: white;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary);
}

.logo svg {
    margin-right: 10px;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

.nav-list a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-list a:not(.btn-nav):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 100px;
    background-color: white;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    max-width: 550px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.action-buttons {
    margin-top: 2rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-circle {
    width: 100%;
    max-width: 400px;
}

.curve-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    color: #f8f9fa;
}

.curve-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

/* Benefits Section */
.benefits {
    background-color: #f8f9fa;
    position: relative;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.benefit-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    background-color: rgba(4, 102, 200, 0.1);
    border-radius: 20px;
}

/* Process Section */
.process {
    background-color: white;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(4, 102, 200, 0.3);
}

.timeline-content {
    flex: 1;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
}

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

.timeline-visual {
    margin-top: 15px;
    max-width: 300px;
}

.timeline-connector {
    width: 3px;
    height: 40px;
    background-color: var(--primary);
    margin: 0 auto 40px;
    position: relative;
}

.timeline-connector::before,
.timeline-connector::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary);
    left: 50%;
    transform: translateX(-50%);
}

.timeline-connector::before {
    top: 0;
}

.timeline-connector::after {
    bottom: 0;
}

.cta-container {
    text-align: center;
    margin-top: 50px;
}

/* Reviews Section */
.reviews {
    background-color: #f8f9fa;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.review-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.review-user {
    flex: 1;
}

.review-user h4 {
    margin-bottom: 3px;
    font-size: 1.1rem;
}

.review-user p {
    color: var(--gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.review-rating {
    color: #FFD700;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--dark);
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: white;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    transition: var(--transition);
}

.faq-icon::before {
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 100%;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px;
}

/* CTA Section */
.cta {
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta h2::after {
    background-color: rgba(255, 255, 255, 0.5);
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
}

.cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    color: white;
    margin: 15px 0 5px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--secondary);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-brand svg {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        z-index: 1000;
        transition: var(--transition);
        padding: 120px 40px 40px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-list li {
        margin: 15px 0;
        width: 100%;
    }
    
    .nav-list .btn-nav {
        display: block;
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .action-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-outline {
        margin: 15px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: 1;
    }
}

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

.benefit-card, .timeline-item, .review-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.4s;
}

.benefit-card:nth-child(4) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.4s;
}

.review-card:nth-child(2) {
    animation-delay: 0.2s;
}

.review-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Overlay for Mobile Menu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}
