/* CSS Variables */
:root {
    --primary-pink: #ff69b4;
    --secondary-cyan: #40e0d0;
    --accent-purple: #9d4edd;
    --gradient-bg: linear-gradient(135deg, #ff69b4, #40e0d0, #9d4edd);
    --text-dark: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Enhanced Hero Section */
.hero-section {
    background: var(--gradient-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
}

.hero-section .row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* Enhanced Logo Container */
.logo-hero-container {
    padding: 2rem 1rem;
    text-align: center;
}

/* Enhanced Logo Container */
.logo-hero-container {
    padding: 2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo-display-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 0;
    border-radius: 50%;
    width: 280px;
    height: 280px;
    min-width: 280px;
    min-height: 280px;
    max-width: 280px;
    max-height: 280px;
    box-shadow: 
        20px 20px 60px rgba(0, 0, 0, 0.1),
        -20px -20px 60px rgba(255, 255, 255, 0.8),
        inset 5px 5px 15px rgba(0, 0, 0, 0.02),
        inset -5px -5px 15px rgba(255, 255, 255, 0.7);
    margin: 0 auto 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.logo-display-box::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(248, 249, 250, 0.9) 100%);
    box-shadow: 
        inset 2px 2px 5px rgba(0, 0, 0, 0.05),
        inset -2px -2px 5px rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
}

.logo-display-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(255, 105, 180, 0.03) 0%, 
        rgba(64, 224, 208, 0.03) 50%, 
        rgba(157, 78, 221, 0.03) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.logo-display-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-bg);
    opacity: 0.9;
}

.logo-display-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, 
        rgba(255, 105, 180, 0.03) 0%, 
        rgba(64, 224, 208, 0.03) 50%, 
        transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: subtleGlow 8s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% { 
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1) rotate(0deg); 
    }
    50% { 
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2) rotate(180deg); 
    }
}

.logo-display-box:hover {
    transform: translateY(-10px);
    box-shadow: 
        25px 25px 80px rgba(0, 0, 0, 0.15),
        -25px -25px 80px rgba(255, 255, 255, 0.9),
        inset 8px 8px 20px rgba(0, 0, 0, 0.03),
        inset -8px -8px 20px rgba(255, 255, 255, 0.8);
}

.logo-display-box:hover::before {
    box-shadow: 
        inset 3px 3px 8px rgba(0, 0, 0, 0.08),
        inset -3px -3px 8px rgba(255, 255, 255, 0.9);
}

.logo-display-box:hover::after {
    opacity: 1;
}

.hero-logo {
    width: 200px;
    height: 200px;
    transition: all 0.4s ease;
    animation: subtleFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
    z-index: 2;
    object-fit: contain;
    display: block;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

/* Remove magical particles effect for professional look */

@keyframes subtleFloat {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-8px); 
    }
}

/* Enhanced Typography */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.5s both;
    text-align: center;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 0.7s both;
    text-align: center;
    width: 100%;
    max-width: 600px;
}

/* Enhanced Buttons */
.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary-pink), var(--secondary-cyan));
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.3);
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.btn-primary-custom:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.5);
    color: white;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-outline-custom {
    border: 3px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-custom:hover {
    background: white;
    color: var(--primary-pink);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
}

.btn-outline-custom-cta {
    border: 3px solid var(--primary-pink);
    color: var(--primary-pink);
    background: rgba(255, 105, 180, 0.1);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-custom-cta:hover {
    background: var(--primary-pink);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 105, 180, 0.3);
}

/* Enhanced Sections */
.section-padding {
    padding: 6rem 0;
}

.feature-card {
    background: white;
    border-radius: 25px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s ease;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-bg);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    color: white;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotateY(10deg);
}

.icon-pink { 
    background: linear-gradient(135deg, var(--primary-pink), #ff1493); 
}

.icon-cyan { 
    background: linear-gradient(135deg, var(--secondary-cyan), #00bcd4); 
}

.icon-purple { 
    background: linear-gradient(135deg, var(--accent-purple), #7b2cbf); 
}

/* Stats Section */
.stats-section {
    background: var(--gradient-bg);
    color: white;
    padding: 5rem 0;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.05), rgba(64, 224, 208, 0.05));
}

/* Contact Section */
.contact-section {
    background: var(--text-dark);
    color: white;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
}

.contact-icon:hover {
    transform: scale(1.1) rotateY(10deg);
}

.contact-text {
    color: rgba(255, 255, 255, 0.8);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-pill {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    animation: float 8s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-30px) rotate(180deg); 
    }
}

.floating-pill:nth-child(1) {
    width: 80px;
    height: 25px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.floating-pill:nth-child(2) {
    width: 60px;
    height: 20px;
    top: 65%;
    right: 12%;
    animation-delay: 2.5s;
}

.floating-pill:nth-child(3) {
    width: 70px;
    height: 22px;
    bottom: 25%;
    left: 15%;
    animation-delay: 5s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Additional utility classes */
.text-gradient {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, var(--gradient-bg) border-box;
}

/* RESPONSIVE DESIGN */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .custom-logo {
        max-width: 280px;
    }
    
    .logo-display-box {
        padding: 2.5rem 1.8rem;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .logo-display-box {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .custom-logo {
        max-width: 240px;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .btn-primary-custom,
    .btn-outline-custom,
    .btn-outline-custom-cta {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 5rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .logo-display-box {
        padding: 1.8rem 1.2rem;
        border-radius: 20px;
        margin-bottom: 1.5rem;
    }
    
    .custom-logo {
        max-width: 200px;
    }
    
    .logo-hero-container {
        padding: 1.5rem 0.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .feature-icon {
        width: 75px;
        height: 75px;
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .stats-section {
        padding: 4rem 0;
    }
    
    .btn-primary-custom,
    .btn-outline-custom,
    .btn-outline-custom-cta {
        width: 100%;
        margin-bottom: 1rem;
        padding: 14px 25px;
    }
    
    .d-flex.gap-3 {
        flex-direction: column !important;
        gap: 1rem !important;
    }
}

/* Mobile portrait */
@media (max-width: 576px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .logo-display-box {
        padding: 1.5rem 1rem;
        border-radius: 18px;
        margin-bottom: 1.2rem;
    }
    
    .custom-logo {
        max-width: 160px;
    }
    
    .logo-hero-container {
        padding: 1rem 0.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 2.5rem 0;
    }
    
    .stats-section {
        padding: 3rem 0;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .btn-primary-custom,
    .btn-outline-custom,
    .btn-outline-custom-cta {
        padding: 12px 20px;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }
    
    .floating-pill {
        display: none; /* Hide floating elements on very small screens for performance */
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .custom-logo {
        max-width: 140px;
    }
    
    .logo-display-box {
        padding: 1.2rem 0.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 1.2rem 0.8rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .custom-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .logo-display-box {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .custom-logo {
        max-width: 120px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}